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. Gated behind FILES_SURFACE_ENABLED + per-user allowlist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The workspace slug. | |
| file_id | Yes | The file cuid. | |
| token_id | Yes | The share token id returned by `share_file` (NOT the `url` token). Same id appears in the `list_file_shares` response. |