Skip to main content
DELETE
/
documents
/
{document_id}
Delete a document (admin only)
curl --request DELETE \
  --url https://api.artosai.com/documents/{document_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>",
  "document_id": "<string>",
  "deleted_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

document_id
string
required

Response

200 - application/json

Document deletion confirmation

message
string
document_id
string
deleted_at
string<date-time>