Terminate DID
delete_didTerminate (cancel) one of the authenticated customer's DIDs by id. PREFER THE SOFTER ALTERNATIVE FIRST: if the user just wants to stop paying for the number, call update_did with billing_cycles_count: 0 instead — the DID then simply stops renewing, stays fully usable until the end of the already-paid billing cycle, and the decision is reversible at any time before expiry. Only terminate when the user explicitly wants the number gone NOW. Terminating releases the number: inbound calls and SMS to it stop immediately, and it can only be restored (restore_did) within roughly 35 days while it remains in the terminated state — after that it returns to public stock and is lost. A DID on a still-pending order is cancelled with a refund instead; a DID from a Bulk Order cannot be terminated. Destructive and confirmation-gated.
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": {
"did_id": "<did_id>"
},
"name": "delete_did"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| did_id | Yes | UUID of the DID to terminate (from list_dids). | |
| confirmation_token | No | Leave empty on the first call — it returns a preview + confirmation_token and terminates nothing; re-call with the token to terminate. |