MCPFerramentas MCP/Conexões/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).
Parâmetros
connectionIdstringobrigatório
The id of the connected account to disconnect (required).
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "disconnect_connected_account",
"arguments": {
"connectionId": "string"
}
}
}Exemplo de resposta
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.