Skip to main content

revokeShareLink

Revokes an existing share link, making it no longer accessible.

Business Rules​

  • Revocation is permanent; a revoked link cannot be re-activated.
  • The requester needs permission on the company that owns the link.

Error Scenarios​

  • **NOT_FOUND**: when no share link exists for the given token.
  • **BAD_REQUEST**: when the link is already revoked.
  • **UNAUTHORIZED**: when the requester lacks permission on the company that owns the link.

Permissions Required​

  • sharing:revoke_link permission
revokeShareLink(
input: RevokeShareLinkInput!
): ShareLink!

Arguments​

revokeShareLink.input ● RevokeShareLinkInput! non-null input common​

Parameters for RevokeShareLink

Type​

Represents a share link for sharing resources with external users.