Update a 'TN'

Update the specific phone number's messaging settings.

Request
path Parameters
tn
required
string

E.164 formatted phone number (without the plus sign)

Request Body schema: application/json
required
profile_id
string <uuid>

ID of the existing messaging profile to which the phone number should be assigned

msg_product
string <string>

The messaging product to which the phone number should be registered

Responses
200

Updated 'TN'

patch/messaging/numbers/{tn}
Request samples
application/json
{
  • "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
  • "msg_product": [
    ]
}
Response samples
application/json
{
  • "num": "+13129457420",
  • "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
  • "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
  • "last_updated": 1521566241103171,
  • "country_code": null,
  • "campaign_id": null,
  • "num_country": "USA",
  • "traffic_type": "P2P",
  • "num_type": "long-code",
  • "sms": null,
  • "mms": null
}