Documents

Trash a document

Changed on

Moves a document to trash and revokes all non-owner access.

post/v1beta/documents/{document_id}/trash

Request

  • Base URL
    https://api.factify.com
  • URL
    https://api.factify.com/v1beta/documents/{document_id}/trash
  • Auth
    HTTP bearer

Path parameters

document_idstring required

Document ID.

Example:doc_01h2xcejqtf2nbrexx3vqjhp41

Request body

object required

TrashDocumentRequest identifies the document to trash.

Response

Success

TrashDocumentResponse required

TrashDocumentResponse is empty on success.

Changes