Skip to main content
Anchor to appRevokeAccessScopes

appRevokeAccessScopes

mutation

Requires This mutation can only be run on the current app.

Revokes previously granted access scopes from an app installation, allowing merchants to reduce an app's permissions without completely uninstalling it. This provides granular control over what data and functionality apps can access.

For example, if a merchant no longer wants an app to access customer information but still wants to use its inventory features, they can revoke the customer-related scopes while keeping inventory permissions active.

Use the appRevokeAccessScopes mutation to:

  • Remove specific permissions from installed apps
  • Maintain app functionality while minimizing data exposure

The mutation returns details about which scopes were successfully revoked and any errors that prevented certain permissions from being removed.

Learn more about managing app permissions.

[String!]!
required

The list of scope handles to revoke.


Was this section helpful?

Anchor to AppRevokeAccessScopesPayload returnsAppRevokeAccessScopesPayload returns

[AccessScope!]

The list of scope handles that have been revoked.

[AppRevokeAccessScopesAppRevokeScopeError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?