Delete a trunk
trunk_deleteDelete an owned trunk after draining live calls and checking cascade preview. Avoid conflicts by disabling CDR-referenced trunks instead.
Instructions
Delete an owned trunk. Rejected with CONFLICT when the trunk has live calls (drain first — check trunk_get_throttle_state) or is referenced by CDRs (disable it via trunk_update instead). Run trunk_get_cascade_preview first to see what will be removed. Step-up MFA required. Errors: NO_ACTIVE_CUSTOMER, INVALID_ID, NOT_FOUND, CONFLICT, INTERNAL_ERROR.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trunk_id": "<trunk_id>"
},
"name": "trunk_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trunk_id | Yes | Trunk group UUID (find it with trunk_list) |