Skip to main content

revokeShareLink

Revoke a share link (idempotent). Authorization is enforced in the resolver against the link's owning workspace ("edit"), since the argument is the share id — not a resource the @hasScope directive can resolve directly.

revokeShareLink(
id: ID!
): ShareLink!

Arguments

revokeShareLink.id ● ID! non-null scalar

Type

A public share link. Returned by createShareLink (with the one-time plaintext slug) and by revokeShareLink (with slug empty — it is never re-derivable).