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

# Delete a post

`DELETE /api/posts/{groupId}`

## Request

- Base URL: `https://api-app.postnext.io`
- URL: `https://api-app.postnext.io/api/posts/{groupId}`
- Auth: API key in header `x-api-key`

Deletes the post from PostNext (the post group and its per-provider
records) and cancels any pending schedule. This does NOT remove an
already-published post from the social platform: if the post was
published, it stays live on the channel and must be deleted there.

## Path parameters

- `groupId` string, required

## Response `200`

Deleted

- object
  - `success` boolean
  - `data` object
    - `message` string

## Other responses

- `401`: Missing or invalid API key
- `404`: Post not found or access denied

---

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