# Delete All Documents DELETE https://fai.buildwithfern.com/document/{domain}/delete-all Reference: https://buildwithfern.com/learn/docs/ai-features/ask-fern/api-reference/document/delete-all-documents ## OpenAPI Specification ```yaml openapi: 3.1.1 info: title: Delete All Documents version: endpoint_document.delete_all_documents paths: /document/{domain}/delete-all: delete: operationId: delete-all-documents summary: Delete All Documents 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: {} components: schemas: DeleteDocumentResponse: type: object properties: success: type: boolean description: Whether the documents was successfully deleted required: - success ```