Skip to main content

Update a phone number

PATCH 
/phone_numbers/:id

Update a phone number

Request

Path Parameters

    id int64required

    Identifies the resource.

Body

required

Updated settings for the phone number.

    tags string[]

    A list of user-assigned tags to help organize phone numbers.

    external_pin string

    If someone attempts to port your phone number away from Telnyx and your phone number has an external PIN set, we will attempt to verify that you provided the correct external PIN to the winning carrier. Note that not all carriers cooperate with this security mechanism.

    hd_voice_enabled boolean

    Indicates whether HD voice is enabled for this number.

    customer_reference string

    A customer reference string for customer look ups.

    connection_id string

    Identifies the connection associated with the phone number.

    billing_group_id string

    Identifies the billing group associated with the phone number.

    number_level_routing string

    Possible values: [disabled]

    Default value: enabled

    Deprecated field, the only value for this is 'disabled'. All routing for numbers should be configured via connection settings.

Responses

200: Successful response with details about a phone number.

default: Unexpected error

Loading...