Skip to content
Snippets Groups Projects
Commit 705e9f40 authored by Valeriy Sizov's avatar Valeriy Sizov
Browse files

#1585 Api for user creation: create help

parent 82508117
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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.
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