Skip to main content
DELETE
TypeScript

Authorizations

Authorization
string
header
required

Default authentication mechanism

Headers

x-tenant-id
string

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.

Pattern: ^[A-Za-z0-9]{1,64}$

Path Parameters

namespaceId
string
required

The id of the namespace (prefixed with ns_)

Example:

"ns_123"

documentId
string
required

The id of the document (prefixed with doc_)

Example:

"doc_123"

Response

The deleted document

success
boolean
required
data
Document · object
required