{"action":"opened","issue":{"url":"https://api.github.com/repos/twilio/twilio-ruby/issues/160","labels_url":"https://api.github.com/repos/twilio/twilio-ruby/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/twilio/twilio-ruby/issues/160/comments","events_url":"https://api.github.com/repos/twilio/twilio-ruby/issues/160/events","html_url":"https://github.com/twilio/twilio-ruby/issues/160","id":84201319,"number":160,"title":"Errors when attempting to move numbers between subaccounts","user":{"login":"smedrick","id":2790598,"avatar_url":"https://avatars.githubusercontent.com/u/2790598?v=3","gravatar_id":"","url":"https://api.github.com/users/smedrick","html_url":"https://github.com/smedrick","followers_url":"https://api.github.com/users/smedrick/followers","following_url":"https://api.github.com/users/smedrick/following{/other_user}","gists_url":"https://api.github.com/users/smedrick/gists{/gist_id}","starred_url":"https://api.github.com/users/smedrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smedrick/subscriptions","organizations_url":"https://api.github.com/users/smedrick/orgs","repos_url":"https://api.github.com/users/smedrick/repos","events_url":"https://api.github.com/users/smedrick/events{/privacy}","received_events_url":"https://api.github.com/users/smedrick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-02T20:38:36Z","updated_at":"2015-06-02T20:38:36Z","closed_at":null,"body":"I'm attempting to move a number from a subaccount to a master account. When I use the master account credentials, and try to update the number, I get\r\n\r\n```\r\nTwilio::REST::RequestError: The requested resource /2010-04-01/Accounts/xxxx/IncomingPhoneNumbers/yyyy.json was not found\r\n```\r\n\r\nWhen using the subaccount's credentials, I get the following error:\r\n\r\n```\r\nTwilio::REST::RequestError: API user must be the parent account to transfer phone numbers.\r\n```\r\n\r\nMy code:\r\n```\r\n  @client = Twilio::REST::Client.new account_sid, auth_token\r\n  @client.account.incoming_phone_numbers.get(phone).update({:account_sid => master_account_sid})\r\n```"}}