Skip to main content
DELETE
Delete Document

Authorizations

Authorization
string
header
required

Your Nugen API key, sent as a Bearer token

Path Parameters

document_id
string
required

ID of the document, returned when it was uploaded

Response

Returns a confirmation message with the ID of the deleted document. This endpoint permanently deletes the specified document from the system, including its metadata and any associated records. The response confirms the successful deletion by returning the document ID and a success message.

Confirmation of a document deletion.

document_id
string
required

document id

Example:

"document_01k4x9m2p7q3r5s8"

message
string
required

Deletion Message

Example:

"Document document_01k4x9m2p7q3r5s8 has been successfully deleted."