Commit 844bb16a authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-update-usersapi' into 'master'

Adds a note about the case when reset_password is false

See merge request gitlab-org/gitlab-ce!21738
parents a3a4a5af e9aec3a1
......@@ -263,7 +263,7 @@ 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).
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.
```
POST /users
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment