PATCH
Bind the agent that answers calls (agent_id, null unbinds)

Authorizations

Authorization
string
header
required

A project API key, alt_live_… or alt_test_….

Path Parameters

id
string
required

Body

application/json
agent_id
string | null

Response

The number.

id
string
required
object
string
required
Allowed value: "phone_number"
account_id
string | null
required
e164
string
required
type
enum<string>
required
Available options:
local,
toll_free
sms_state
enum<string>
required
Available options:
pending_registration,
active,
rejected,
blocked
simulated
boolean
required
created_at
string<date-time>
required