Soft-delete a document

Soft-deletes a document by marking it with a deletion timestamp. The document is not permanently removed from the database but will no longer appear in list or retrieve responses.

Only admin employees or employees with the can_delete_documents permission may delete documents. Regular employees will receive a 403 response.

Path Params
integer
required

Unique identifier of the document.

Responses
204

Document successfully soft-deleted. No content is returned.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json