MCPMCP-Tools/Verbindungen/disconnect_connected_account
disconnect_connected_account
Writeconnections:write
Fully disconnect a connected OAuth account (the brand-level connection and every location under it that shares the same grant). Revokes the platform token if no other row still uses it, and archives any ad accounts hanging off it. This is the same action as the "Disconnect" button on a connected account — reconnecting afterwards requires the user to go through OAuth again in the app UI (MCP can't drive that). Identify the account by its connectionId (from list_connected_accounts).
Parameter
connectionIdstringerforderlich
The id of the connected account to disconnect (required).
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "disconnect_connected_account",
"arguments": {
"connectionId": "string"
}
}
}Beispielantwort
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.