ga4_revoke_connection

Revoke Google Analytics Connection

Ga4

Description

Revoke (soft-delete) an owned Google Analytics connection. Any defaults pointing to it are invalidated and shared org members lose access. The OAuth grant at Google is NOT revoked by this tool — the user must disconnect via the dashboard if they want to fully revoke at Google. You must be the owner.

DestructiveIdempotent

Usage

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "ga4_revoke_connection",
    "arguments": {
      "connection_id": "00000000-0000-0000-0000-000000000001",
      "reason": "User asked to disconnect this Google Analytics account"
    }
  }
}

Parameters

NameTypeRequiredDescription
connection_id string Required UUID of the connection to mark as the actor's default Google Analytics connection.
reason string Required Why this tool call is neededminLength: 1, maxLength: 500

Examples

Revoke

{
  "connection_id": "00000000-0000-0000-0000-000000000001",
  "reason": "User asked to disconnect this Google Analytics account"
}

hopkin ga4 ke-connection --connection-id 00000000-0000-0000-0000-000000000001