Update the messaging profile and/or messaging product of a phone number
PATCH
JavaScript
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The phone number to update.
Body
application/json
The new configuration to set for this phone number.
To avoid modifying a value, either omit the field or set its value to null.
Configure the messaging profile this phone number is assigned to:
- Omit this field or set its value to
nullto keep the current value. - Set this field to
""to unassign the number from its messaging profile - Set this field to a quoted UUID of a messaging profile to assign this number to that messaging profile
Configure the messaging product for this number:
- Omit this field or set its value to
nullto keep the current value. - Set this field to a quoted product ID to set this phone number to that product
Example:
"P2P"
Tags to set on this phone number.
Response
Successful response with details about a phone number including messaging settings.
Example:
Retrieve a phone number with messaging settings
Previous
List phone numbers with messaging settings
Next
JavaScript