remove_user
Delete a MinIO IAM user irreversibly, capturing prior state for policy rebuild. Supports dry-run to validate before permanent removal.
Instructions
[WRITE][risk=high] Delete an IAM user. IRREVERSIBLE — no undo is recorded.
MinIO keeps no recoverable copy of the secret, so the account cannot be restored, only recreated with a secret supplied again. priorState captures the status and policy attachments so the same rights can be rebuilt. Refused when it targets this tool's own credential.
Args: access_key: The user's access key (from iam_users). dry_run: If True, run the guards and report without deleting. target: MinIO target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| access_key | Yes |