cURL
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 }
Permanently delete Documents and all their associated Annotations, comments, AI Sessions, etc.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object