Skip to main content
PATCH
Change a phone line. Send only the fields you want to change.
  • Both kinds: name, agent_id (set to null to detach the agent).
  • 60db number (sixtydb): inbound. The SIP login is managed by 60db, so SIP fields are rejected with 400 VALIDATION_ERROR.
  • Your own trunk (byo): domain, username, password, caller_id, inbound_number.
If the call runtime cannot take the change, it is reverted and you get an error.

Request

Headers

string
required
Bearer token with your API key (scope agents)
string
required
application/json

Path

string
required
The phone line id (UUID)

Body

string
1–64 characters
string | null
The agent that calls from this line (UUID), or null to detach it
boolean
60db numbers only. Must be false for now
string
BYO only. SIP host name, optionally with a port
string
BYO only. 1–128 characters
string
BYO only. 1–256 characters. Never returned
string
BYO only. E.164 format
string | null
BYO only. Must be null for now

Response

200 OK. The updated phone line.

Errors

Example