revoke_link
Deactivate a share link permanently to stop access to a document. Use after identifying the link token with list_links. Requires admin access.
Instructions
Revoke a share link, making it permanently inactive. Use list_links first to find the token of the link to revoke. Requires admin access. If the document is in this MCP server's local store, 'key' is optional.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Document ID (used to look up the admin key when 'key' is omitted) | |
| key | No | Admin key. Optional if the document is in this MCP server's local store. | |
| link_token | Yes | The token of the link to revoke (from list_links) |