Delete a trunk
trunk_deleteDelete an owned trunk after draining live calls and disabling CDR references. Preview removal with trunk_get_cascade_preview first.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trunk_id | Yes | Trunk group UUID (find it with trunk_list) |