Skip to content
gist.link ↗

revokeIntegrationGrant

Mutation Sheets API — POST https://sheets.api.gist.link/graphql

The revokeIntegrationGrant mutation on the Sheets API.

sheets:mutation:revokeIntegrationGrant

The calling IAM key must hold this permission (or a wildcard that covers it: sheets:mutation:* or sheets:*) and the access token must have been minted with audience=sheets. See Permissions.

type Mutation {
revokeIntegrationGrant(grantId: String!): Boolean!
}
Argument Type Required Description
grantId String! Yes —

Boolean!.

Terminal window
curl https://sheets.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation RevokeIntegrationGrant($grantId: String!) { revokeIntegrationGrant(grantId: $grantId) }",
"variables": {
"grantId": "example"
}
}
JSON