---
title: "Delete a draft"
method: DELETE
path: "/api/v1/campaigns/{id}"
tags: ["Campaigns"]
---

# Delete a draft

`DELETE /api/v1/campaigns/{id}`

## Request

- Base URL: `https://mailcheer.com`
- URL: `https://mailcheer.com/api/v1/campaigns/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`

Permission required: `campaigns:write`. Only a campaign with status `draft` can be deleted. Any other status (`scheduled`, `sending`, `testing`, `sent`, `archived`) answers 409 `conflict` with the current status in `details.status`: a campaign that has sent, or will send, keeps its figures. Deleting a draft cannot be undone.

## Path parameters

- `id` string, required

## Response `200`

Deleted.

- object
  - `object` 'campaign'
  - `id` string
  - `deleted` boolean

## Other responses

- `401`: Key missing, unknown or revoked.
- `403`: The key does not have the requested permission, or the workspace cannot send: `sending_blocked` (suspended, blocked or banned — nothing goes out, through any channel), `commitment_required` (the anti-spam commitment is not accepted), `reputation_blocked` (too many bounces or complaints).
- `404`: The object does not exist in this workspace.
- `409`: Not a draft: nothing was deleted.

---

[API](https://skmtc.dev/mailcheer/apis/mailcheer-api.md) · [All operations](https://skmtc.dev/mailcheer/apis/mailcheer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mailcheer/apis/mailcheer-api/revisions/ba64b7ef2170?raw)
