Create a new user account for accessing the client app.
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.
The request body to create a user requires the following properties:
email
password
role
user_name
The user_name
must be unique.
The body is of type object
.
User successfully created
The response is of type object
.