---
title: "Cancel a scheduled post"
method: DELETE
path: "/scheduled-posts/{id}"
---

# Cancel a scheduled post

`DELETE /scheduled-posts/{id}`

## Request

- Base URL: `https://katto.tech/api/v1`
- URL: `https://katto.tech/api/v1/scheduled-posts/{id}`
- Auth: HTTP bearer

Cancels a post that has not been published (status pending or failed): the row is removed, like the dashboard calendar's delete, so it is never published. 409 if it is already posting or posted. A repeated call returns 404. Requires write scope.

## Path parameters

- `id` string, uuid, required

## Response `200`

Cancelled

- object
  - `id` string, uuid
  - `status` 'cancelled'
  - `previous_status` 'pending' | 'failed'

## Other responses

- `401`: Error
- `403`: Error
- `404`: Error
- `409`: Error
- `429`: Error
- `500`: Error

---

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