External Connections

Update a phone number

Asynchronously update settings of the phone number associated with the given external connection.

patch/external_connections/{id}/phone_numbers/{phone_number_id}

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/external_connections/{id}/phone_numbers/{phone_number_id}
  • Auth: HTTP bearer

Path parameters

idstring required
Example:1293384261075731499

Identifies the resource.

phone_number_idstring required
Example:1234567889

A phone number's ID via the Telnyx API

Request body

location_idstring uuid

Identifies the location to assign the phone number to.

Response

Successful response

Example response

{
  "data": {
    "ticket_id": "542c3bca-d247-42bc-8fe7-e01d16ecd761"
  }
}

Changes

No operation changes recorded.