# User Management in the BMS

For all APIs that require authentication, refer to this [page](https://docs-en.dydu.ai/developers/api-reference/authentication) to learn how to fill in the field.

## User Creation

```
/servlet/accounts/update
```

Parameters :&#x20;

<table><thead><tr><th width="164">Parameter</th><th width="451">Description</th><th></th></tr></thead><tbody><tr><td><a href="authentication">Authorization</a></td><td></td><td></td></tr><tr><td>login</td><td>The login of the new account, or of the account to be modified if the login already exists. A login is unique.</td><td>Required</td></tr><tr><td>accountId</td><td>The account ID. This ID should only be provided if you want to modify an existing account.</td><td></td></tr><tr><td>firstName</td><td>First name of the user</td><td></td></tr><tr><td>lastName</td><td>Last name of the user</td><td></td></tr><tr><td>email</td><td>Email address of the user</td><td></td></tr><tr><td>password</td><td>Password of the user. It must comply with the following policy: at least 12 characters, 1 lowercase letter, 1 uppercase letter, 1 digit.</td><td></td></tr><tr><td>language</td><td>The language used in the BMS</td><td>French, English</td></tr><tr><td>rights</td><td>User rights. This field is in JSON format. <br><em>Example</em>: <br>{ "type": "default", "9fbd59f2-bf91-4aab-bee1-a36c2a3ebece": "Names of the groups in the preferences separated by commas", "6ae11dd2-c322-4177-aab0-9c6754cf1bcd": "Writer" }</td><td></td></tr></tbody></table>
