remove_user
Delete an IAM user from MinIO permanently. Use dry_run to preview guards and capture prior state before removing an account that cannot be restored.
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.
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>"
},
"name": "remove_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| access_key | Yes |