---
title: "Delete a post"
method: DELETE
path: "/api/posts/{id}"
---

# Delete a post

`DELETE /api/posts/{id}`

## Request

- Base URL: `https://octopost.ink`
- URL: `https://octopost.ink/api/posts/{id}`
- Auth: HTTP bearer

## Query parameters

- `deleteFromPlatforms` boolean

## Response `200`

Deleted

- object

## Other responses

- `401`: Missing or invalid API key. Send `Authorization: Bearer op_...` with the key from https://octopost.ink/dashboard/api-keys.
- `404`: No post with this id in this account.
- `429`: Rate limited (per minute per IP; publishing 50/hour). Retry after the `Retry-After` seconds.
- `500`: Server error. Safe to retry; email hello@greatwork.company if it persists.

---

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