Remove (disconnect) an account
remove_channelDisconnects an account from the workspace: Shager deletes its keys for the account (and, where the network offers it, cancels Shager's access there; see get_network_features revoke). Posts already published keep their numbers; posts waiting to go out won't go to it. Only the account's owner can connect it again (create_connect_link), so this first needs a manager's OK in Shager: the call answers needs_confirmation with confirm_url; after they approve, make the same call again. To stop posting for a while without losing the connection, use set_channel_status PAUSED instead. (Not available in an unclaimed sandbox.)
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": {
"workspace_id": "<workspace_id>",
"channel_id": "<channel_id>"
},
"name": "remove_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | ||
| workspace_id | Yes | Workspace id from list_workspaces | |
| confirmation_token | No | The confirmation_token from needs_confirmation. The call goes through only after your human approved this exact action at confirm_url. |