Skip to content
gist.link ↗

disconnectGoogle

Mutation Campaigns API — POST https://campaigns.api.gist.link/graphql

Removes the org’s Google OAuth connection. ROLE_ADMIN or ROLE_CAMPAIGNS_MANAGER.

campaigns:mutation:disconnectGoogle

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

type Mutation {
disconnectGoogle: Boolean!
}

This mutation takes no arguments.

Boolean!.

Terminal window
curl https://campaigns.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation DisconnectGoogle { disconnectGoogle }",
"variables": {}
}
JSON