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

# Delete Facebook posts

> Delete Facebook posts via Posttu's Facebook REST API (POST /api/v1/facebook/posts/delete) and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/facebook/posts/delete
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/facebook/posts/delete:
    post:
      tags:
        - Facebook
      summary: Delete Facebook posts
      description: |-
        Delete Facebook posts
        Requires API key scope: `facebook:write`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacebookDeletePostsInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacebookPostDeleteResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    FacebookDeletePostsInput:
      type: object
      properties:
        channelId:
          type: string
          description: Facebook channel ID
          example: ch_fb123
        postIds:
          type: array
          items:
            type: string
          description: Facebook post IDs
      required:
        - channelId
        - postIds
    FacebookPostDeleteResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          type:
            - array
            - 'null'
          items:
            $ref: '#/components/schemas/FacebookSuccessResponse'
          description: The FacebookSuccessResponse[].
      required:
        - success
        - data
    FacebookSuccessResponse:
      type: object
      properties:
        success:
          type: boolean
      required:
        - success
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.