Skip to main content
Anchor to AppRevokeAccessScopesPayload

AppRevokeAccessScopesPayload

payload

Return type for appRevokeAccessScopes mutation.

•[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?

Anchor to Mutations with this payloadMutations with this payload

•mutation

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.


Was this section helpful?