Appearance
Remove Document
Soft remove a document. The document is marked as removed but not permanently deleted. Requires the DOCUMENTS feature flag and ADMIN, DELETE_DOCUMENT, or MANAGE_DOCUMENTS permissions.
Parameters
| name * are required parameters | data type | description |
|---|---|---|
documentId* | string | The unique identifier of the document to remove |
Return Value
json
{
"statusCode": 201,
"data": null,
"message": "Document removed successfully"
}Examples
bash
curl -X POST "https://app.wombat.software/api/{targetPath}/document/:documentId/remove" \
-H "Content-Type: application/json" \
-H "Authentication: Bearer ..."ENDPOINTS
post
/api/{targetPath}/document/:documentId/remove