Skip to main content
PATCH
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Identifies the resource.

Example:

"1293384261075731499"

phone_number_id
string
required

A phone number's ID via the Telnyx API

Example:

"1234567889"

Body

application/json

Values that can be set when updating a phone number

location_id
string<uuid>

Identifies the location to assign the phone number to.

Response

Successful response

data
Phone number details with relation to an external connection · object