v50

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-1759238438.1 KB
Sharings

Revoke document access

Revoke access from a recipient.

delete/v1beta/documents/{document_id}/share/{recipient_id}

Path parameters

document_idstring required

Document ID.

Example:doc_01h2xcejqtf2nbrexx3vqjhp41

Document ID.

recipient_idstring required

Recipient ID (TypeID: user_xxx or bot_xxx).

Example:user_01h2xcejqtf2nbrexx3vqjhp41

Recipient ID (TypeID: user_xxx or bot_xxx).

Response

Success

errorstring

Error message if the revocation failed.

successboolean

Whether the revocation succeeded.