Delete Document
DELETE/document/:document_id
The Delete document API allows you to remove specific document from your documents.
Request
Path Parameters
document_id stringrequired
Provide objectId of document to delete
Responses
- 200
- 400
- 404
- 405
Document deleted successfully!
- application/json
- Schema
- Example (from schema)
Schema
objectId string
deletedAt date
{
"objectId": "Bxh2aspHp3",
"deletedAt": "2023-10-07T16:49:56.000Z"
}
Something went wrong, please try again later!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Something went wrong, please try again later!"
}
Document not found!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Document not found!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Invalid API token!"
}
Loading...