Create user
keycloak_user_createCreate a Keycloak user with required username, optional email, enabled, and emailVerified. User cannot log in until password is set via keycloak_user_reset_password.
Instructions
Write operation that creates a new realm user and returns a confirmation message with the username. It does not set a password, so call keycloak_user_reset_password afterwards to give the account credentials; it also does not send any email. Not idempotent: calling it again with the same username creates a conflict rather than a duplicate. Use keycloak_user_update to change an existing user instead of recreating it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address for the new user (e.g. "jane@example.com"). Optional; omit to create the user without an email. | ||
| enabled | No | Whether the account can log in. Optional; defaults to true (enabled) unless explicitly set to false. | |
| username | Yes | Login username for the new user (e.g. "jane.doe"). Required and must be unique within the realm. | |
| emailVerified | No | Whether the email is marked as already verified. Optional; defaults to false unless explicitly set to true. |