Update destination of telephone number
Update the destination that gets calls from this telephone number.<br/><br/> One example destination is an END_USER, which results in the user's devices ringing and potentially connecting a call. Another potential destination is one of our automated systems handling the incoming call.<br/><br/> If an END_USER is the destination, and the assignAsCallerId value is "true", this call also updates the enduser calleridConfig with the phone number and sets the visibility to true.<br/><br/> This is just a convenience method, the same thing can be accomplished using <a href="#/~operation/Telephone%20Number/updateTelephoneNumberOnAccount">updateTelephoneNumberOnAccount</a>, but which requires the full telephone number account object.
Request
- Base URLhttps://api.alianza.com
- AuthAPI key in header X-AUTH-TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of account. Refers to <a href="#/~schema/TelephoneNumberAccountV2X">telephoneNumberAccount.accountId</a>, which refers to <a href="#/~schema/Account">account.id</a>
ID of partition. Refers to <a href="#/~schema/TelephoneNumberAccountV2X">telephoneNumberAccount.partitionId</a>, which refers to <a href="#/~schema/PartitionX">partition.id</a>
Telephone number, 11 digits no spaces or dashes (include country code). Refers to <a href="#/~schema/TelephoneNumberAccountV2X">telephoneNumberAccount.phoneNumber</a>
Request body
Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.