Users
Create a user account
This operation creates a new user account.
In the request body, set the new user account email
, password
, user_name
, and role
. Available values for the role
property: patron
, expeditor
, chef
, and manager
.
The user_name
and password
properties are required to authenticate a user and obtain an access token.
POST
Body
application/json
The request body to create a user requires the following properties:
- password
- role
- user_name
The user_name
must be unique.
The body is of type object
.
Response
201
application/json
User successfully created
The response is of type object
.