Skip to main content
Glama

revoke_file_share

Soft-revoke a share token minted via share_file. The public /share/files/<token> URL stops resolving immediately. Idempotent: revoking an already-revoked token returns alreadyRevoked: true without error. Editor role required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe workspace slug.
file_idYesThe file cuid.
token_idYesThe `token_id` returned by `share_file` (NOT the token in the `url`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / token_id / description
      Previous value: -"The share token id returned by `share_file` (NOT the `url` token). Same id appears in the `list_file_shares` response."New value: +"The `token_id` returned by `share_file` (NOT the token in the `url`)."
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.