Delete a campaign
deleteCampaignDelete a campaign that has not gone out: a draft, or a scheduled one, whose send is called off with it. A sent campaign cannot be deleted. Takes the broadcastId (readCampaigns lists them); names are not unique, so when several match what the person said, ask which one. It cannot be undone. To change a campaign, updateCampaign instead.
This changes something outside Kooga, so the person confirms it first. Where the app can show the question, it does. Otherwise the first call changes nothing and answers with a question to put to the person word for word, and a confirmToken: call again with the same arguments and that confirmToken only after they said yes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| broadcastId | Yes | The campaign, by its id in Kooga | |
| workspaceId | No | The workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace. | |
| campaignName | No | What it is called, so the person is asked about it by name | |
| confirmToken | No | Only after the person said yes: the confirmToken this tool answered with when it asked. Never invent one, and never send one the person did not confirm. |