> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create User

Adds and updates users in the native realm. These users are commonly referred to as native users. A password is required for adding a new user but is optional when updating an existing user.

## Parameters

<div className="integrations-table">
  | Parameter     | Description                                                                                                                                                                                                                                                                                                                                    |
  | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Email         | The email of the user.                                                                                                                                                                                                                                                                                                                         |
  | Enabled       | Specifies whether the user is enabled. The default value is true.                                                                                                                                                                                                                                                                              |
  | Full Name     | The full name of the user.                                                                                                                                                                                                                                                                                                                     |
  | Metadata      | Arbitrary metadata that you want to associate with the user.                                                                                                                                                                                                                                                                                   |
  | Password      | The user’s password. Passwords must be at least 6 characters long. When adding a user, one of password or password\_hash is required.                                                                                                                                                                                                          |
  | Password Hash | A hash of the user’s password. This must be produced using the same hashing algorithm as has been configured for password storage. Using this parameter allows the client to pre-hash the password for performance and/or confidentiality reasons. The password parameter and the password\_hash parameter cannot be used in the same request. |
  | Roles         | A set of roles the user has. The roles determine the user’s access permissions. To create a user without any roles, specify an empty list -> \[].                                                                                                                                                                                              |
  | Username      | An identifier for the user.<br /><br />Usernames must be at least 1 and no more than 1024 characters. They can contain alphanumeric characters (a-z, A-Z, 0-9), spaces, punctuation, and printable symbols in the Basic Latin (ASCII) block. Leading or trailing whitespace is not allowed.                                                    |
</div>

## Workflow Library Example

[Create User with Elasticsearch and Send Results Via Email](https://library.blinkops.com/workflows/create-user-with-elasticsearch-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-user-with-elasticsearch-and-send-results-via-email/canvas" />
</div>
