MailMasker API
Claude Code
Drive

Revoke a share

POST/api/v1/drive/shares/:id/revoke

Who can use this: Any signed-in accountAs Markdown

The link stops working at once, and the share drops off your list and the other person's. It can't be turned back on; share again for a new link.

Parameters

NameWhereWhat it is
id required path The share's id, from List your shares.e.g. 15

Good to know

  • A share that isn't yours, or is already revoked, answers 404.