v1

latestOpenAPI 3.1.1MIT License2026-07-122354100.9 KB
Documents

Delete a document

Delete a document for the authenticated organization.

delete/v1/namespace/{namespaceId}/documents/{documentId}

Path parameters

namespaceIdstring required

The id of the namespace (prefixed with ns_)

Example:ns_123

The id of the namespace (prefixed with ns_)

documentIdstring required

The id of the document (prefixed with doc_)

Example:doc_123

The id of the document (prefixed with doc_)

Headers

x-tenant-idstring

Optional tenant id to use for the request. If not provided, the namespace will be used directly. Must be alphanumeric and up to 64 characters.

Optional tenant id to use for the request. If not provided, the namespace will be used directly. Must be alphanumeric and up to 64 characters.

Response

The deleted document

successtrue required