Disconnect an account
accounts_disconnectDisconnect one account. Its stored connection is deleted and its queued posts are cancelled, so nothing more is sent to it; posts already made stay in the history. The account stays in the list as disconnected until the user connects it again on their account page. Where the network allows it, this service also asks the network to revoke its access, and the answer waits for the network (up to about 20 seconds): account.revocation says what was revoked. status revoked: the network confirmed it. status unconfirmed: it was not revoked there, with the reason and, in message and settingsUrl, where the user removes the app themselves. A Google sign-in (YouTube, Business Profile) or a Facebook login that other connected accounts still use is left in place (reason shared) and revoked with the last of them. Ask the user first.
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": {
"id": "<id>"
},
"name": "accounts_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | An account id from accounts_list. | |
| brandId | No | The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out. |