Delete campaign
When can a campaign be deleted?
dorna_delete_campaign deletes a campaign that has no paid or running orders. It is meant for test and draft campaigns.
- dorna_delete_campaign
- Changes data
- Asks before it runs
Parameters
| Field | Type | Description |
|---|---|---|
campaignId | string (ID) | Required. The campaign's ID, from dorna_campaigns. |
What it returns
A confirmation that the campaign was deleted.
Example
Ask your assistant: Delete the test campaign I made yesterday.
The assistant then calls the tool like this:
{
"name": "dorna_delete_campaign",
"arguments": {
"campaignId": "64f1a2b3c4d5e6f7a8b9c0d1"
}
}A typical result looks like this (the values are examples):
{
"campaignId": "64f1a2b3c4d5e6f7a8b9c0d1",
"deleted": true
}Access and confirmation
Changes or deletes existing data. Your assistant asks you before every call.
Deleting cannot be undone. Your assistant confirms the campaign's name and orders with you first.
Related tools: dorna_campaigns dorna_cancel_order
Still have a question?
Open this guide in your own AI assistant and ask it.