Update an account phone number
POST https://api.plivo.com/v1/Account/{{auth_id}}/Number/{number}/
Change the application and sub-account associated to specified phone number from your account.
Below is the list of arguments that can be passed in this API request, more information can be found here
Arguments | Description | Required/Conditional/Optional |
---|---|---|
app_id | The application to be assigned to the phone number. If not specified, the application selected as the defaultnumberapp of the Account is assigned. For more information, refer defaultnumberapp argument in application and app_id attribute in application object | Optional |
subaccount | The auth_id of the subaccount to which this number should be added. This can be performed only by the main account. | Optional |
alias | An alias assigned to the phone number. | Optional |
Request Body
{"app_id"=>"77494029089751836", "subaccount"=>"SAXXXXXXXXXX", "alias"=>"Updated Alias"}