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

# Delete document

> Deletes a target document from the platform. It removes everything: original document, annotated version, and chunks from the vector database.



## OpenAPI

````yaml /api-rest/openapi/openapi_content_data.json delete /contents/v1/documents/{content_id}
openapi: 3.1.0
info:
  title: Bigdata Content API
  description: API for managing and accessing private content documents uploaded by users.
  version: 1.0.0
servers:
  - url: https://api.bigdata.com/
security:
  - ApiKeyAuth: []
paths:
  /contents/v1/documents/{content_id}:
    delete:
      tags:
        - Documents
      summary: Delete document
      description: >-
        Deletes a target document from the platform. It removes everything:
        original document, annotated version, and chunks from the vector
        database.
      parameters:
        - name: content_id
          in: path
          required: true
          description: >-
            Content ID of the document to delete (32-character uppercase
            hexadecimal string).
          schema:
            type: string
            pattern: ^[A-F0-9]{32}$
            example: E0618D0E9D3A960C1731A620EDE56B5C
      responses:
        '200':
          description: Document deleted successfully.
          content:
            application/json:
              schema:
                type: object
                nullable: true
        '401':
          description: Unauthorized - Invalid or missing API key.
        '403':
          description: You do not have permission to delete this document.
        '404':
          description: Document not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                    example: 404
                  message:
                    type: string
                    example: Document not found
                  errorCode:
                    type: string
                    example: PRIVATE_CONTENT_NOT_FOUND
                  requestId:
                    type: string
                    format: uuid
                    example: 9be9e5fe-b72d-45dd-8c4c-5f213f745fcd
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Your API key. Include it in every request as the X-API-KEY header.
        Create and manage keys in the Developer Platform.

````