PATCH
Patch Phone Number

Authorizations

Authorization
string
header
required

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

Path Parameters

number_id
string<uuid>
required

Body

application/json
can_inbound
boolean | null
can_outbound
boolean | null
label
string | null
status
enum<string> | null
Available options:
disabled,
pending

Response

Successful Response

can_inbound
boolean
required
can_outbound
boolean
required
created_at
string<date-time>
required
e164
string
required
id
string<uuid>
required
inbound_agent_id
string<uuid> | null
required
label
string | null
required
last_synced_at
string<date-time> | null
required
livekit_dispatch_rule_id
string | null
required
livekit_inbound_trunk_id
string | null
required
provider
enum<string>
required
Available options:
plivo,
exotel,
vobiz,
twilio
provider_number_id
string | null
required
provider_state
Provider State · object
required
readiness
enum<string>
required
Available options:
live,
needs_agent,
needs_carrier_setup,
setting_up,
error,
disabled
status
enum<string>
required
Available options:
pending,
provisioning,
active,
error,
disabled
status_message
string | null
required
telephony_account_id
string<uuid>
required
updated_at
string<date-time>
required