@@ -274,7 +274,14 @@ GET /users/:id?with_custom_attributes=true
## User creation
Creates a new user. Note only administrators can create new users. Either `password` or `reset_password` should be specified (`reset_password` takes priority). If `reset_password` is `false`, then `password` is required.
Creates a new user. Note only administrators can create new
users. Either `password`, `reset_password`, or `force_random_password`
must be specified. If `reset_password` and `force_random_password` are
both `false`, then `password` is required.
Note that `force_random_password` and `reset_password` take priority
over `password`. In addition, `reset_password` and
`force_random_password` can be used together.
```
POST /users
...
...
@@ -284,7 +291,8 @@ Parameters:
-`email` (required) - Email
-`password` (optional) - Password
-`reset_password` (optional) - Send user password reset link - true or false(default)
-`reset_password` (optional) - Send user password reset link - true or false (default)
-`force_random_password` (optional) - Set user password to a random value - true or false (default)