Deleting multiple documents (V1)
It is possible to delete more than one document version at once, currently this is limited to 100 entries per call. Add a list of document identifiers as a string array to the body of the DeleteDocuments operation. Only set parameter synchronous to true if you really need index data being deleted before the call returns as this massivley degrades performance.
cURL Example
curl -X DELETE "https://{customer}.{tenant}.cp.xsuite.com:{port}/api/v1/Archives/{archive}/documents?synchronous=false" -H "Authorization: Bearer {ACCESS_TOKEN}" -H "accept: */*" -H "Content-Type: application/json" -d "[\"c5a8315f92923673005b51fd86771f0e\",\"aad69fa233cc36fe93b66e3b0d0fb66d\"]"
Definitions
Permissions
Delete permissions on the archive are required.