---
title: "Cancel a post"
method: POST
path: "/posts/{id}/cancel"
tags: ["Posts"]
---

# Cancel a post

`POST /posts/{id}/cancel`

## Request

- Base URL: `https://www.postbase.so/api/v1`
- URL: `https://www.postbase.so/api/v1/posts/{id}/cancel`
- Auth: HTTP bearer

Stop a scheduled post; it goes back to being a draft.

## Path parameters

- `id` string, uuid, required

## Response `200`

Cancelled

- object
  - `ok` boolean
  - `id` string
  - `still_sending` integer: Channels already mid-send, which will finish

## Other responses

- `401`: Missing or invalid API key
- `404`: Not found
- `409`: Conflict with the post's state
- `429`: Rate limited

---

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