hs4.admin.users.update
Update a user account's email, password, role, or enabled status. Supports dry-run validation, audit reasons, and change ticket gating for safe admin mutations.
Instructions
Update an existing user account through admin controls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| No | |||
| domain | Yes | Admin mutation domain; must be 'users'. | |
| dryRun | No | If true, validates and simulates action without changing HS4. | |
| intent | No | High-level intent for this operation. | |
| reason | No | Reason/rationale for auditability. | |
| userId | Yes | ||
| confirm | No | Must be true for mutating operations unless running dry-run. | |
| enabled | No | ||
| password | No | ||
| riskLevel | No | Risk classification for audit and change-control workflows. | medium |
| displayName | No | ||
| changeTicket | No | Required when policy enforces change-ticket gating. | |
| operationTier | No | Privilege tier for this mutation. | operator |
| maintenanceWindowId | No | Required for non-dry-run admin mutations. |