Commit 705e9f40 authored by Valeriy Sizov's avatar Valeriy Sizov

#1585 Api for user creation: create help

parent 82508117
...@@ -65,6 +65,27 @@ Parameters: ...@@ -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 ## Current user
Get currently authenticated user. Get currently authenticated user.
......
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