---
title: "Delete a post and all its variants"
method: DELETE
path: "/api/v1/posts/{post_id}"
tags: ["posts"]
---

# Delete a post and all its variants

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

## Request

- Base URL: `https://api.cadencz.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cadencz.com/api/v1/posts/{post_id}`
- Auth: HTTP bearer

Permanently deletes a post and every variant/schedule under it (published excepted).

## Path parameters

- `post_id` string, required

## Response `204`

Successful Response

## Other responses

- `401`: Missing or invalid Supabase bearer token.
- `404`: The requested resource was not found.
- `409`: The requested state transition is not allowed.
- `422`: Validation Error

---

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