This endpoint can be used to delete on or more documents from a Xenioo Database Collection.
To successfully invoke this endpoint :
A Bot Level Authorization Token must be created and sent in the header.
An active Database package must be active on the target account.
The following request shows how to delete a single document from a Xenioo Database Collection:
curl --location --request DELETE 'https://<NODE>.xenioo.com/data/<COLLECTIONNAME>/<DOCUMENT ID>' \--header 'Authorization: Bearer <BOT AUTH TOKEN>' \--header 'Content-Type: application/json' \
URL Filtering Syntax can be used on the request in place of <DOCUMENT ID> to delete multiple documents with a single call.
If successful, this call will return the number of documents that were deleted.
This endpoint will reply with the following standard HTTP codes.
Ok. The request has been successfully fulfilled.
Bad Request. The call does not contain the data required to be fulfilled.
Not Found. The specified collection has not been found.
Unauthorized. The specified collection cannot be access through API