Anchor to section titled 'undefined'

appRevokeAccessScopes
mutation

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

Revokes access scopes previously granted for an app installation.


The list of scope handles to revoke.


Was this section helpful?

The list of scope handles that have been revoked.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation appRevokeAccessScopes($scopes: [String!]!) {
  appRevokeAccessScopes(scopes: $scopes) {
    revoked {
      # AccessScope fields
    }
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "scopes": [
    "<your-scopes>"
  ]
}