Delete users
users_deleteDeletes a user or a user group; group members are moved to the target group.
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": {
"action": "<action>",
"site_id": "<site_id>"
},
"name": "users_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Group id. | |
| gid | No | Group id. On group actions it is a synonym for id. | |
| nid | No | Group that receives the members of a deleted group. | |
| nick | No | User login (nick), 2-25 characters. Synonym: user. | |
| user | No | Synonym for nick. | |
| action | Yes | Operation to run. Each oneOf entry describes one action and lists its parameters. | |
| confirm | No | Confirmation of this deletion. Not needed unless the server refuses the call because the site owner requires it; that refusal says what to do. | |
| site_id | Yes | Site to change: site_id from list_sites. Required: the call works only on this site, whatever select_site chose. |