# Batch Delete Document DELETE https://fai.buildwithfern.com/document/{domain}/batch-delete Content-Type: application/json Reference: https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/batch-delete-document ## OpenAPI Specification ```yaml openapi: 3.1.1 info: title: Batch Delete Document version: endpoint_document.batch_delete_document paths: /document/{domain}/batch-delete: delete: operationId: batch-delete-document summary: Batch Delete Document tags: - - subpackage_document parameters: - name: domain in: path required: true schema: type: string - name: Authorization in: header description: >- Bearer authentication of the form `Bearer `, where token is your auth token. required: true schema: type: string responses: '200': description: Successful Response content: application/json: schema: $ref: '#/components/schemas/DeleteDocumentResponse' '422': description: Validation Error content: {} requestBody: content: application/json: schema: type: array items: $ref: '#/components/schemas/DeleteDocumentRequest' components: schemas: DeleteDocumentRequest: type: object properties: document_id: type: string description: The unique identifier of the document to delete required: - document_id DeleteDocumentResponse: type: object properties: success: type: boolean description: Whether the documents was successfully deleted required: - success ```