SIP Trunks
Update a trunk
Updates any subset of a trunk's fields. Send egressHost as null or "" to clear it and make the trunk ingress-only. The same validation codes as create apply; a request with no recognized fields returns 400 no_fields.
patch/api/v1/trunks/{id}
Request
- Base URL: https://api.callnode.io
- URL: https://api.callnode.io/api/v1/trunks/{id}
- Auth: API key in header X-Api-Key and API key in header X-Timestamp and API key in header X-Signature
Request body
Response
The updated trunk.
Example response
{
"id": "cmb1xk2p40001abcd1234wxyz",
"registration": {
"username": "cnk4m8xq2z7pd",
"domain": "sip.callnode.io",
"server": "sip.callnode.io:5061"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.