disconnect_gam
Permanently revoke and remove GAM OAuth credentials for a network. Requires confirmation token; disables all OrbiAds operations for that network.
Instructions
Revoke and permanently remove the GAM OAuth credentials for a network from the tenant.
MODE: write (destructive) AUTH: OAuth 2.0 required CREDITS: 0 (free) OUTPUT: Returns {network_code, disconnected_at} SIDE EFFECTS: All OrbiAds operations requiring this network will fail after disconnection. The network must be re-authorized via initiate_gam_auth to restore access. WHEN TO USE: Use when intentionally removing a network from the tenant (e.g., end of contract). Confirmation token required — this action is irreversible via API.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"network_code": "<network_code>",
"confirmation_token": "<confirmation_token>"
},
"name": "disconnect_gam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network_code | Yes | GAM network code to disconnect. | |
| confirmation_token | Yes | Write-confirmation token. Required — disconnection is irreversible. |