Skip to main content
DELETE
/
v1
/
collections
/
{collection_identifier}
/
documents
/
{document_id}
Delete a document by ID.
curl --request DELETE \
  --url https://api.mixpeek.com/v1/collections/{collection_identifier}/documents/{document_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Successfully deleted",
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

collection_identifier
string
required

The ID of the collection.

document_id
string
required

The ID of the document to delete.

Response

Successful Response

GenericDeleteResponse.

message
string
default:Successfully deleted
success
boolean
default:true