Skip to main content
PATCH
Update SIP trunk

Authorizations

Authorization
string
header
required

Send your team API key or project token as Authorization: Bearer <token>. The credential must have the required permissions. Project tokens can access only their own project.

Path Parameters

trunkId
string<uuid>
required

Identifier for the trunk.

Value constraints

Body

application/json
expectedRevision
integer

Apply the change only if the trunk still has this revision.

Value constraints

Required range: x >= 1
name
string

Display name, 1 to 100 characters.

Value constraints

Required string length: 1 - 100
enabled
boolean

Whether this feature is enabled.

direction
enum<string>

Specifies direction for this management platform access update sip trunk request.

Allowed values

Available options:
inbound,
outbound,
both
outbound
object

Specifies outbound for this management platform access update sip trunk request.

inbound
object

Specifies inbound for this management platform access update sip trunk request.

codecs
enum<string>[]

Distinct codecs in preference order. Defaults to PCMU, PCMA, opus.

Allowed item values

Value constraints

Required array length: 1 - 3 elements
Available options:
PCMU,
PCMA,
opus
maxConcurrentCalls
integer

1 to 500. Defaults to 30.

Value constraints

Required range: 1 <= x <= 500

Response

The updated SIP trunk.

success
enum<boolean>
required

Whether the request succeeded.

Allowed values

Available options:
true
data
object
required

Structured data carried by this object.