---
title: "Delete post"
method: DELETE
path: "/api/v1/posts/{id}"
tags: ["Posts"]
---

# Delete post

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

## Request

- Base URL: `https://www.poster.ly`
- URL: `https://www.poster.ly/api/v1/posts/{id}`
- Auth: HTTP bearer

Removes a post record and cancels queued publishing. Publishing and processing posts are refused. Published posts require delete_mode=posterly for local-only removal, or delete_mode=platform with confirm_published=true for live deletion. Eligible platforms require the original account, a saved post ID and deletion permissions. A failure keeps the record. Legacy confirm_published=true implies platform mode.

## Path parameters

- `id` integer, required

## Query parameters

- `delete_mode` 'posterly' | 'platform'
- `confirm_published` boolean

## Response `200`

Post deleted successfully

- DeletePostResponse
  - `deleted` boolean, required
  - `id` integer, required
  - `delete_mode` 'posterly' | 'platform'
  - `deleted_ids` integer[]
  - `platform_delete` 'not_published' | 'not_requested' | 'deleted' | 'no_live_target', required: not_published: no live post. not_requested: explicit local-only removal. deleted: the platform acknowledged deletion. no_live_target: no saved live target; only the posterly record was removed.

## Other responses

- `400`: Cannot delete a post that is currently publishing
- `401`: Invalid or missing API key
- `404`: Resource not found
- `409`: Deletion intent or confirmation required, post changed, or deletion already in progress
- `422`: Platform take-down is not supported, or the token cannot delete the live post. The posterly row is kept.
- `429`: Too many requests
- `502`: The platform delete failed. The posterly row is kept.

---

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