archive_account
Archive or unarchive a user account. Archiving removes the account from groups and unlinks subscriptions. Set archived=false to restore an archived account to active status. Requires finance:write scope.
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>",
"archived": "<archived>"
},
"name": "archive_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archived | Yes | true to archive the account, false to unarchive (restore to active status). | |
| accountId | Yes | ID of the account to archive or unarchive. |