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"
}
Custom SIP Trunks
Delete SIP Trunk
Permanently delete a SIP trunk
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"
}
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
string
required
SIP trunk UUID.
Request headers
string
required
Bearer token. Format:
Bearer talq_your_environment_token_hereExamples
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"
}
Was this page helpful?