Client: unlink one platform account
unlink_accountUnlink one platform account from a client (the dashboard's client editor, clearing a field): the account stays connected to the agency and can be linked again with link_account; only this client stops using it. Call without confirm to preview.
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": {
"client": "<client>",
"account": "<account>"
},
"name": "unlink_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | Yes | Client name from list_clients | |
| account | Yes | ||
| confirm | No | Leave false to preview: nothing changes and the preview shows exactly what would happen. Set true only after the user has agreed to this exact change. | |
| account_id | No | For google_ads or meta on a client with several accounts: which one (customer id or act_…). Without it the main account is unlinked and the next one becomes main. | |
| analytics_property | No | For analytics on a client with several properties: which one (its id). Without it the main property is unlinked and the next one becomes main. |