diff --git a/doc/api/users.md b/doc/api/users.md index 4f806b145d154ed2f51707038317cfc141cd1c4e..0e065fc9582bc0ca9a647d120cd084eb2c5761f8 100644 --- a/doc/api/users.md +++ b/doc/api/users.md @@ -65,6 +65,27 @@ Parameters: } ``` +## User creation +Create user. Available only for admin + +``` +POST /users +``` + +Parameters: ++ `email` (required) - Email ++ `name` (required) - Name ++ `password` (required) - Password ++ `password_confirmation` (required) - Password confirmation ++ `skype` - Skype ID ++ `linkedin` (required) - Linkedin ++ `twitter` - Twitter account ++ `projects_limit` - Limit projects wich user can create + + +Will return created user with status `201 Created` on success, or `404 Not +found` on fail. + ## Current user Get currently authenticated user.