Skip to content
Snippets Groups Projects
Commit 844bb16a authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

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
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment