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

# Delete a post

> Delete the complete post group associated with a root post ID.



## OpenAPI

````yaml /api-reference/openapi.json delete /public/v1/posts/{id}
openapi: 3.0.0
info:
  title: PostlyBee Public API
  description: >-
    Create and manage social posts, upload media, and discover connected
    accounts with the PostlyBee Public API.
  version: 1.0.0
  contact:
    name: PostlyBee Support
    url: https://postlybee.com
    email: support@postlybee.com
  license:
    name: Proprietary
    url: https://postlybee.com/terms
servers:
  - url: https://api.postlybee.com
    description: Production
security: []
tags:
  - name: Posts
    description: Create, list, update, and delete social posts.
  - name: Media
    description: Upload media and use enabled video generators.
  - name: Accounts
    description: Discover connected social accounts.
  - name: Utilities
    description: Verify access and find posting slots.
paths:
  /public/v1/posts/{id}:
    delete:
      tags:
        - Posts
      summary: Delete a post
      description: Delete the complete post group associated with a root post ID.
      operationId: deletePost
      parameters:
        - name: id
          required: true
          in: path
          description: Root post ID.
          schema:
            example: clz8v2f6r0001k9p8t5m3w7q1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiDeletedPostDto'
        '401':
          description: The bearer token is missing or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiErrorDto'
        '429':
          description: Hourly API limit exceeded.
      security:
        - public-api: []
components:
  schemas:
    PublicApiDeletedPostDto:
      type: object
      properties:
        id:
          type: string
          example: clz8v2f6r0001k9p8t5m3w7q1
      required:
        - id
    PublicApiErrorDto:
      type: object
      properties:
        msg:
          type: string
          example: Invalid API key
      required:
        - msg
  securitySchemes:
    public-api:
      scheme: bearer
      bearerFormat: API key
      type: http
      description: Workspace API key from Settings → Public API.

````