Delete campaign
delete_campaignDelete a draft, held, blocked, completed or cancelled campaign: it leaves the campaign listings; its calls, recordings, transcripts and billing records are kept. A launching, scheduled, running or paused campaign must be cancelled first (409 campaign_active); a repeat answers 404. Ask the user to confirm before calling.
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": {
"campaign_id": "<campaign_id>"
},
"name": "delete_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | ||
| organization_id | No | Optional. Defaults to the authenticated workspace; when supplied it must be that workspace's id. |