DELETE
/
api
/
document
/
delete
curl --request DELETE \
  --url https://cite.petal.org/api/document/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "document_ids": [
    123
  ]
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json
document_ids
integer[]
required

Unique IDs of Documents to delete

Response

200
application/json
OK
success
boolean
default:
true