set_user_status
Enable or disable a MinIO IAM user, with dry-run preview and rollback to prior status. Refuses to modify the access key authenticating this tool.
Instructions
[WRITE][risk=medium] Enable or disable an IAM user. Reversible → prior status.
Refused when it targets the access key this tool authenticates with: the change would take effect and then reject every following call, the undo included. Enforced under dry_run too.
Args: access_key: The user's access key (from iam_users). enabled: True enables the account, False disables it. dry_run: If True, preview without changing the status. target: MinIO target name from config; omit for the default.
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": {
"access_key": "<access_key>",
"enabled": "<enabled>"
},
"name": "set_user_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| enabled | Yes | ||
| access_key | Yes |