DELETE
/
document
/
{id}
curl --request DELETE \
  --url https://{api-address}.org.machina.gg/document/{id} \
  --header 'x-api-token: <api-key>'
{
  "data": {
    "id": "67e1f9412a5ade8c69c03fe3"
  },
  "message": "document deleted",
  "status": true
}

Authorizations

x-api-token
string
header
required

API key authentication

Path Parameters

id
string
required

Unique ID of the document to delete

Response

200
application/json
Document deleted successfully
data
object
message
string

Success message

Example:

"document deleted"

status
boolean

Operation status

Example:

true