DELETE
/
api
/
v1
/
documents
/
{documentId}
curl --location --request DELETE 'https://api.rapidagent.ai/api/v1/documents/{documentId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
  "success": true,
  "data": null
}

Params

documentId
string
required

A valid document id.

Response

success
boolean

Indicates whether the call was successful.

curl --location --request DELETE 'https://api.rapidagent.ai/api/v1/documents/{documentId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
  "success": true,
  "data": null
}