Enable or disable account
set_account_enabledEnable or disable a connected account (only workspace owners and admins can do this). While an account is disabled, scheduled posts that come due are put on hold and sent after it is re-enabled; posts that miss their original scheduled date are not sent automatically afterward. Disconnecting an account can only be done by the user on the web. (Required scope: cd.accounts.manage)
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": {
"accountId": "<accountId>",
"isEnabled": "<isEnabled>"
},
"name": "set_account_enabled"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | ||
| isEnabled | Yes | ||
| workspaceId | No | Optional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to. |