set_user_status
Enable or disable a MinIO IAM user account. Use dry-run to preview changes before applying. Reversible action for access management.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| enabled | Yes | ||
| access_key | Yes |