Update a phone number

Updates the configuration of a phone number.

Authentication

AuthorizationBearer

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

Path parameters

phone_number_slugstringRequired

The phone number slug (phone number without the leading +).

Request

This endpoint expects an object.
friendly_namestringOptional

A human-readable name for the phone number.

sip_auth_usernamestringOptional
SIP authentication username.
sip_outbound_proxystringOptional
SIP outbound proxy.
sip_term_uristringOptional
SIP termination URI.

Response

200
statusstring or null
Whether the request was successful.

Errors