VoiceDock Docs
ApiS I P Trunks

Delete a SIP trunk

Delete a SIP trunk. Any numbers using this trunk for transfers will have their transfer_trunk_id set to null.

DELETE
/sip-trunks/{id}

Delete a SIP trunk. Any numbers using this trunk for transfers will have their transfer_trunk_id set to null.

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication. Get your key from the dashboard.

In: header

Path Parameters

id*string

SIP trunk UUID

Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/sip-trunks/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "success": true
}
{
  "error": "Invalid API key",
  "message": "string"
}
{
  "error": "Invalid API key",
  "message": "string"
}