Skip to content

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 parametersdata typedescription
documentId*stringThe 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