POST
/
users
{
  "id": "674d0bf5c28b69001f8e03a1",
  "created_at": "2024-04-22T10:00:00Z",
  "updated_at": "2024-04-22T10:00:00Z",
  "user_name": "john_doe",
  "email": "johndoe@gmail.com",
  "password": "P@ssw0rd!",
  "role": "manager"
}

Body

application/json

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.

Response

201
application/json

User successfully created

The response is of type object.