Skip to main content
DELETE
/
api
/
projects
/
{projectId}
/
documents
Delete documents
curl --request DELETE \
  --url https://api.example.com/api/projects/{projectId}/documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
[
  "3c90c3cc-0d44-4b50-8888-8dd25736052a"
]

Authorizations

Authorization
string
header
required

Personal access token is obtained through your profile

Path Parameters

projectId
string<uuid>
required

Project unique identifier

Body

application/json
ids
string<uuid>[]
required

List of document IDs to delete

Response

200 - application/json

List of deleted document IDs