Documents
Delete Document
API Documentation
Documents
Document Conversion
Personal Earnings Statement
Certificate Of Origin
Dangerous Goods Declaration
International Consignment Note
Documents
Delete Document
This endpoint deletes a document.
DELETE
/
v1-preview
/
documents
/
{documentId}
from abbyy_document_ai import DocumentAi
import os
with DocumentAi(
api_key_auth=os.getenv("DOCUMENTAI_API_KEY_AUTH", ""),
) as document_ai:
res = document_ai.documents.delete(document_id="wh23anb5xjf0ntw5taase5qz")
assert res is not None
# Handle response
print(res)
This response does not have an example.
Authorizations
Our API offers authentication via API keys. You can obtain an API key from https://developer.abbyy.com
Path Parameters
The id of the document
Response
204
_mintlify/placeholder
The document was deleted successfully.
Was this page helpful?
from abbyy_document_ai import DocumentAi
import os
with DocumentAi(
api_key_auth=os.getenv("DOCUMENTAI_API_KEY_AUTH", ""),
) as document_ai:
res = document_ai.documents.delete(document_id="wh23anb5xjf0ntw5taase5qz")
assert res is not None
# Handle response
print(res)
This response does not have an example.