Delete an audience
delete_audienceDelete an audience by ID; returns 409 when an active campaign uses it as primary, otherwise unlinks it from campaigns and removes it.
Instructions
Delete an audience. Required API key scope: audiences:write. DELETE /audiences/{id} Fails with 409 if an ACTIVE campaign uses it as its primary audience; otherwise unlinks it from other campaigns and deletes it.
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": {
"id": "<id>"
},
"name": "delete_audience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Path parameter `id`. |