Delete a user
delete_userDelete a user account and revoke all attached access grants. Requires admin credentials: first call generates a confirmation token, second call with that token completes removal.
Instructions
Removes an account and every access grant attached to it. Requires an admin account and a confirmation token: call once without it to receive the token, then again with it.
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": {
"username": "<username>"
},
"name": "delete_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | The account to remove. | |
| confirm_token | No | The token from this tool’s previous, unconfirmed response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes |