Skip to main content
POST

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Cuerpo

application/json
roles
enum<string>[]
requerido

Roles of the user. The possible values are:

  • ROLE_OWNER # Business manager
  • ROLE_MANAGER # Inventory manager
  • ROLE_VALIDATOR # Validator
  • ROLE_VIEWER # Viewer
Opciones disponibles:
ROLE_OWNER,
ROLE_MANAGER,
ROLE_VALIDATOR,
ROLE_VIEWER
email
string

User email

companyId
string

Company id

Respuesta

200

The user