v1

latestOpenAPI 3.1.0Proprietary2026-08-06177398877.4 KB
Documents

Delete a document

Soft delete a document.

The document record is marked as deleted but not permanently removed. Associated files in S3 may be cleaned up asynchronously.

delete/documents/{id}

Path parameters

idstring required

Resource ID (UUID) or client key

Query parameters

by'id' | 'key'

Specify lookup type for faster retrieval. If omitted, defaults to looking up by ID first, then falls back to client key if not found. Use by=key when you know you're providing a client key for best performance.

Response

Document deleted successfully