curl --request DELETE \
--url https://api.lucidtech.ai/{basePath}/documents \
--header 'Authorization: Bearer <token>'{
"documents": [
{
"updatedTime": "<string>",
"metadata": {},
"retentionInDays": 913,
"updatedBy": "<string>",
"description": "<string>",
"createdBy": "<string>",
"name": "<string>",
"createdTime": "<string>",
"documentId": "<string>",
"contentMD5": "<string>",
"ocrFileUrl": "<string>",
"agentRunId": "<string>",
"content": "<string>",
"groundTruth": [
{
"label": "<string>",
"value": "<string>",
"pages": [
123
],
"rawValue": "<string>",
"confidence": 0.5
}
],
"consentId": "<string>",
"datasetId": "<string>",
"fileUrl": "<string>",
"contentType": "application/pdf",
"annotationFileUrl": "<string>"
}
],
"nextToken": "<string>",
"consentId": [
"<string>"
],
"datasetId": [
"<string>"
],
"sortBy": "createdTime",
"order": "ascending"
}Delete Document
curl --request DELETE \
--url https://api.lucidtech.ai/{basePath}/documents \
--header 'Authorization: Bearer <token>'{
"documents": [
{
"updatedTime": "<string>",
"metadata": {},
"retentionInDays": 913,
"updatedBy": "<string>",
"description": "<string>",
"createdBy": "<string>",
"name": "<string>",
"createdTime": "<string>",
"documentId": "<string>",
"contentMD5": "<string>",
"ocrFileUrl": "<string>",
"agentRunId": "<string>",
"content": "<string>",
"groundTruth": [
{
"label": "<string>",
"value": "<string>",
"pages": [
123
],
"rawValue": "<string>",
"confidence": 0.5
}
],
"consentId": "<string>",
"datasetId": "<string>",
"fileUrl": "<string>",
"contentType": "application/pdf",
"annotationFileUrl": "<string>"
}
],
"nextToken": "<string>",
"consentId": [
"<string>"
],
"datasetId": [
"<string>"
],
"sortBy": "createdTime",
"order": "ascending"
}The access token received from the authorization server in the OAuth 2.0 flow.