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

Authorization
string
header
required

Our API offers authentication via API keys. You can obtain an API key from https://developer.abbyy.com

Path Parameters

documentId
string
required

The id of the document

Response

204
_mintlify/placeholder

The document was deleted successfully.