App Revoke Access Scopes Payload
Return type for mutation.
Anchor to FieldsFields
- Anchor to revokedrevoked•[Access
Scope!] The list of scope handles that have been revoked.
- Anchor to userErrorsuser•[App
Errors Revoke Access Scopes App Revoke Scope Error!]! non-null The list of errors that occurred from executing the mutation.
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
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.