Skip to main content

approveAppInstallationScopes

Requires permission settings:apps:install.

Approve the new access an installed app's latest version asks for. You can grant only access whose permissions you hold.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation ApproveAppInstallationScopes($installationId: ID!) {
approveAppInstallationScopes(installationId: $installationId) {
id
status
appId
appVersionId
grantedScopes
installedAt
}
}

Variables:

{
"installationId": "id"
}

Response:

{
"data": {
"approveAppInstallationScopes": {
"id": "id",
"status": "string",
"appId": "id",
"appVersionId": "id",
"grantedScopes": [
"string"
],
"installedAt": "2025-01-15T00:00:00Z"
}
}
}
approveAppInstallationScopes(
installationId: ID!
): AppInstallationView!

Arguments​

approveAppInstallationScopes.installationId ● ID! non-null scalar​

The installation whose new access to approve.

Type​

AppInstallationView object​

One app installed in this organization. The app acts as its own user, with only the access granted here.