Skip to main content
PUT
Update Trunk

Headers

x-anyreach-org
string | null

Organization ID for user PATs (pat_ prefix tokens)

Path Parameters

id
string
required

Body

application/json

Schema for updating an existing trunk.

name
string | null
inbound_config
InboundTrunkConfigSchema · object | null

Schema for inbound trunk configuration.

outbound_config
OutboundTrunkConfigSchema · object | null

Schema for outbound trunk configuration.

Response

Successful Response

Trunk entity representing a SIP trunk configuration.

id
string
required
organization_id
string
required
name
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
external_id
string
required
created_by
string | null
modified_by
string | null
inbound_config
InboundTrunkConfig · object | null

Inbound trunk configuration for SIP trunks.

outbound_config
OutboundTrunkConfig · object | null

Outbound trunk configuration for SIP trunks.

managed_account_id
string | null