Update an outbound SIP trunk
Partial update; address and transport cannot be changed (delete and recreate
instead). Removing a caller ID still used by a live campaign, as an agent’s
transfer source, or attached as an agent’s caller ID returns 409 naming what
uses it. Updating cpsLimit applies to every trunk on the same carrier address.
Authentication
AuthorizationBearer
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Path parameters
trunkId
Request
All fields optional; only the fields present are updated. address and
transport are not accepted. An empty body returns 400 (“Nothing to
update”); numbers: [] returns 400 (“An outbound trunk needs at least
one caller ID number”).
name
numbers
Replaces the caller-ID list. E.164 with leading +.
mediaEncryption
Allowed values:
destinationCountry
cpsLimit
authUsername
authPassword
Response
Updated trunk
status
data
Errors
404
Not Found Error
409
Conflict Error

