PATCH
/
v1
/
documents
/
bulk-delete
Delete multiple documents
curl --request PATCH \
  --url https://staging.api.us.aptlydone.com/document/v1/documents/bulk-delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tenantId": "105fa115-52d0-4466-baff-740447a60774",
  "documentIds": [
    "7df90da4-0634-40b9-abf5-6e97a222cfb8",
    "5378637c-0098-457f-94a4-1cc983593f13"
  ]
}'
{
  "deleteCount": 5
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200 - application/json

Decisions deleted successfully

The response is of type object.