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

# Delete a post

`DELETE /v1/posts/{postId}`

## Request

- Base URL: `https://api.postzen.dev`
- URL: `https://api.postzen.dev/v1/posts/{postId}`
- Auth: HTTP bearer

Deletes a draft, scheduled, queued, failed, partially failed, or canceled post. Published and publishing posts cannot be deleted.

## Response `200`

Post deleted.

- object
  - `message` 'Post deleted successfully', required

## Other responses

- `400`: Invalid request.
- `401`: Missing or invalid API key.
- `403`: The API key does not have sufficient permission or profile access.
- `404`: Resource not found.
- `409`: The resource is busy or conflicts with an in-progress operation.
- `429`: Rate limit exceeded. Retry after the interval indicated by the `Retry-After` header.

---

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