cURL
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 }
Remove an existing document by its unique ID.
API key authentication
Unique ID of the document to delete
Document deleted successfully
The response is of type object.
object