curl --request DELETE \
--url https://api.lucidtech.ai/{basePath}/documents/{documentId} \
--header 'Authorization: Bearer <token>'
{
"updatedTime": "<string>",
"contentMD5": "<string>",
"metadata": {},
"retentionInDays": 2,
"updatedBy": "<string>",
"description": "<string>",
"agentRunId": "<string>",
"content": "<string>",
"groundTruth": [
{
"pages": [
123
],
"confidence": 0.5,
"label": "<string>",
"value": "<string>"
}
],
"consentId": "<string>",
"createdBy": "<string>",
"name": "<string>",
"createdTime": "<string>",
"datasetId": "<string>",
"documentId": "<string>",
"fileUrl": "<string>",
"contentType": "application/pdf",
"annotationFileUrl": "<string>"
}
Delete a specific document.
curl --request DELETE \
--url https://api.lucidtech.ai/{basePath}/documents/{documentId} \
--header 'Authorization: Bearer <token>'
{
"updatedTime": "<string>",
"contentMD5": "<string>",
"metadata": {},
"retentionInDays": 2,
"updatedBy": "<string>",
"description": "<string>",
"agentRunId": "<string>",
"content": "<string>",
"groundTruth": [
{
"pages": [
123
],
"confidence": 0.5,
"label": "<string>",
"value": "<string>"
}
],
"consentId": "<string>",
"createdBy": "<string>",
"name": "<string>",
"createdTime": "<string>",
"datasetId": "<string>",
"documentId": "<string>",
"fileUrl": "<string>",
"contentType": "application/pdf",
"annotationFileUrl": "<string>"
}
The access token received from the authorization server in the OAuth 2.0 flow.
200 response
The response is of type object
.