Delete an account group (DESTRUCTIVE)
delete_account_groupDELETE an account group and everything it implies. Owner-only. WARNING: every still-pending post targeting any account in the group is INVALIDATED (marked failed, reason "Account group deleted") and the group's account connections are lost; reconnecting later means redoing OAuth. This cannot be undone. get_affected_post_count gives each account's pending posts.
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": {
"groupId": "<groupId>"
},
"name": "delete_account_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | The account group's _id (see list_accounts) | |
| workspace | No | Act in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace. |