Skip to main content
DELETE
/
api
/
v1
/
sip-trunks
/
{trunk_id}
curl -X DELETE "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1" \
  -H "Authorization: Bearer talq_your_environment_token_here"
{
  "success": true,
  "message": "SIP trunk deleted"
}

Documentation Index

Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt

Use this file to discover all available pages before exploring further.

Delete SIP Trunk

Permanently delete a SIP trunk. The trunk must have no active calls and no DIDs attached — delete its DIDs first via Delete SIP Trunk DID.

Endpoint

DELETE /api/v1/sip-trunks/{trunk_id}

Path Parameters

trunk_id
string
required
SIP trunk UUID.

Request Headers

Authorization
string
required
Bearer token. Format: Bearer talq_your_environment_token_here

Examples

curl -X DELETE "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1" \
  -H "Authorization: Bearer talq_your_environment_token_here"

Response

{
  "success": true,
  "message": "SIP trunk deleted"
}

Error Responses

409 — Trunk Has DIDs

{
  "success": false,
  "message": "Trunk still has DIDs attached. Delete DIDs before deleting the trunk.",
  "code": "TRUNK_HAS_DIDS"
}