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

# Delete scheduled post

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Removes a post from the app's social calendar.

This is how you cancel a post you already scheduled: a deleted post never publishes, even when a publisher run is already waiting on its scheduled time. The one exception is a post being published right now, which fails with a 409 because the request to the platform may already be in flight.

Deleting a post that's already deleted succeeds, so a repeated call is safe. The post stops appearing in [List scheduled posts](/api-reference/list-scheduled-posts) and reads as not found afterwards.

The social calendar endpoints share two rate limits: 20 requests per minute across creating, editing, deleting and approving posts, and 40 requests per minute across the rest. This endpoint counts against the 20.

<Note>This endpoint accepts a personal API key. Workspace API keys are not authorized for it and are rejected with a 403.</Note>



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json delete /api/apps/{app_id}/social-calendar/posts/{post_id}
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - ApiKeyAuth: []
paths:
  /api/apps/{app_id}/social-calendar/posts/{post_id}:
    delete:
      summary: Delete scheduled post
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Removes a post from the app's social calendar.


        This is how you cancel a post you already scheduled: a deleted post
        never publishes, even when a publisher run is already waiting on its
        scheduled time. The one exception is a post being published right now,
        which fails with a 409 because the request to the platform may already
        be in flight.


        Deleting a post that's already deleted succeeds, so a repeated call is
        safe. The post stops appearing in [List scheduled
        posts](/api-reference/list-scheduled-posts) and reads as not found
        afterwards.


        The social calendar endpoints share two rate limits: 20 requests per
        minute across creating, editing, deleting and approving posts, and 40
        requests per minute across the rest. This endpoint counts against the
        20.


        <Note>This endpoint accepts a personal API key. Workspace API keys are
        not authorized for it and are rejected with a 403.</Note>
      operationId: delete_post_api_api_apps__app_id__social_calendar_posts__post_id__delete
      parameters:
        - name: post_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^[0-9a-fA-F]{24}$
            description: >-
              ID of the post, as returned by [List scheduled
              posts](/api-reference/list-scheduled-posts).
            title: Post Id
          description: >-
            ID of the post, as returned by [List scheduled
            posts](/api-reference/list-scheduled-posts).
          example: 6886b8d390dc7e2f4a2c91b3
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            description: ID of the app whose social calendar you want.
            title: App Id
          description: ID of the app whose social calendar you want.
          example: 6820f3a4e7b91d003c45a1f2
      responses:
        '200':
          description: The post is deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteScheduledPostResponse'
        '401':
          description: Missing or invalid credentials.
        '403':
          description: >-
            You don't have editor access to this app, or you used a workspace
            API key.
        '404':
          description: >-
            App not found, the post doesn't exist or is already deleted, or the
            social calendar is not enabled for your account.
        '409':
          description: The post is publishing right now.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limit exceeded (20 requests per minute).
components:
  schemas:
    DeleteScheduledPostResponse:
      properties:
        status:
          type: string
          title: Status
          description: Always `ok`. The post is deleted, or was already.
          default: ok
          example: ok
      type: object
      title: DeleteScheduledPostResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: Personal API key.

````