Delete document
Delete a document permanently. This action cannot be undone. The document and its associated file will be removed from the system.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Document ID
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://app.orbiqhq.com/api/v1/documents/550e8400-e29b-41d4-a716-446655440000"{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000"
}
}{
"success": false,
"error": "Invalid document ID."
}{
"success": false,
"error": "Unauthorized access."
}{
"success": false,
"error": "Document not found"
}{
"success": false,
"error": "Method not allowed"
}{
"success": false,
"error": "Failed to delete document."
}How is this guide?