Skip to main content
POST
Register new user

Authorizations

Authorization
string
header
required

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

Body

firstName
string
required
Required string length: 1 - 255
Pattern: ^[\p{L} .'-]+$
lastName
string
required
Required string length: 1 - 255
Pattern: ^[\p{L} .'-]+$
email
string
required
Required string length: 1 - 255
password
string
required
Required string length: 8 - 128
Pattern: ^(?=.*\p{Ll})(?=.*\p{Lu})(?=.*\d)[\p{L}0-9!@#$%^&*]{8,}$
role
enum<string>
required
Available options:
USER,
ADMIN

Response

User successfully registered

success
boolean