SIP Trunks
Update SIP trunk
Update an existing SIP Trunk by ID. The whole object must be sent. Any missing fields will be set to null.
put/trunks/{sipTrunkId}
Path parameters
sipTrunkIdstring required
The ID of the SIP trunk.
Request body
Example request
{
"hostName": "acme-domain-1",
"topLevelDomain": ".elastic-sip.sinch.com",
"domain": "acme-domain-1.elastic-sip.sinch.com",
"name": "Acme Trunk",
"callsPerSecond": 100,
"enableCallerName": true,
"callForwardNumber": "+17208511190",
"enableCallForward": true,
"createTime": "2022-01-01T00:00:00Z",
"updateTime": "2022-01-01T00:00:00Z",
"projectId": "1bf62742-7b84-4666-9cbe-8e5734fd57d0"
}Response
SIP trunk updated successfully
Example response
{
"hostName": "acme-domain-1",
"topLevelDomain": ".elastic-sip.sinch.com",
"domain": "acme-domain-1.elastic-sip.sinch.com",
"name": "Acme Trunk",
"callsPerSecond": 100,
"enableCallerName": true,
"callForwardNumber": "+17208511190",
"enableCallForward": true,
"createTime": "2022-01-01T00:00:00Z",
"updateTime": "2022-01-01T00:00:00Z",
"projectId": "1bf62742-7b84-4666-9cbe-8e5734fd57d0"
}