> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postqueen.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Post

> Delete a post by its ID. The API will look up the post and delete all posts in the same group.

<Warning>
  **A post that does not exist comes back as `500`, not `404`.** The handler looks the post up and
  then reads its group without checking it found one, so a missing id throws rather than returning
  a not-found.

  If you are writing a client that treats "already deleted" as success, match on that `500` here
  instead of a `404`. Other `500`s from this endpoint are real failures, so do not swallow the
  status code generally.
</Warning>

Deleting is by post id, and it removes the **group** that post belongs to. A group is one
channel's post together with its thread items or comments, so deleting the first tweet in a
thread removes the whole thread. It does not touch the same content scheduled to your other
channels: each channel in a create call gets its own group.

Deletion is a soft delete, and any scheduled work still pending for that post is cancelled with
it. What has already published on the network stays there; this removes it from your calendar
rather than reaching into the platform.

To clear several at once, [Delete by Group](/public-api/posts/delete-by-group) takes a group id
directly.


## OpenAPI

````yaml DELETE /posts/{id}
openapi: 3.1.0
info:
  title: PostQueen Public API
  description: >-
    API for managing social media posts, integrations, and media uploads in
    PostQueen.


    ## Authentication


    All endpoints require an API key passed in the `Authorization` header:


    ```

    Authorization: your-api-key

    ```


    Get your API key from PostQueen Settings.


    ## Rate Limits


    The create-post endpoint is capped per organization per hour. With
    `API_LIMIT` unset the ceiling is **90 requests per hour**; the shipped
    Compose files and PostQueen Cloud both set it to **30**. No other endpoint
    is throttled.


    ## Terminology


    The UI uses `channel`, but the API uses `integration`. They refer to the
    same thing.


    ## Supported Platforms (34)


    **Social Platforms:** X (Twitter), LinkedIn, LinkedIn Page, Facebook,
    Instagram, Instagram Standalone, Threads, Bluesky, Mastodon, Warpcast
    (Farcaster), Nostr, VK


    **Video Platforms:** YouTube, TikTok


    **Community Platforms:** Reddit, Lemmy, Discord, Slack, Telegram, Kick,
    Twitch


    **Design Platforms:** Pinterest, Dribbble


    **Blogging Platforms:** Medium, Dev.to, Hashnode, WordPress, Moltbook


    **Business:** Google My Business (GMB), Listmonk (newsletters), Whop, Skool
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.postqueen.ai/public/v1
    description: PostQueen Cloud
  - url: https://{host}/api/public/v1
    description: Self-hosted
    variables:
      host:
        default: localhost:4007
        description: Your PostQueen instance domain
security:
  - ApiKeyAuth: []
tags:
  - name: Integrations
    description: Manage connected social media channels
  - name: Posts
    description: Create, list, and delete posts
  - name: Uploads
    description: Upload media files
  - name: Notifications
    description: View organization notifications
  - name: Analytics
    description: View analytics for integrations and posts
  - name: Video Generation
    description: Generate videos with AI
  - name: OAuth
    description: Authorize third-party apps and exchange codes for access tokens
paths:
  /posts/{id}:
    delete:
      tags:
        - Posts
      summary: Delete a post by ID
      description: >-
        Delete a post by its ID. The API will look up the post and delete all
        posts in the same group.
      operationId: deletePost
      parameters:
        - name: id
          in: path
          required: true
          description: Post ID to delete
          schema:
            type: string
      responses:
        '200':
          description: Post deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
              example:
                id: deleted-post-id
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Your PostQueen API key

````