Skip to main content
POST
Create a user

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Body

application/json

The user to create.

email
string
required
Example:

"john@example.com"

firstName
string
required
Example:

"John"

lastName
string
required
Example:

"Doe"

password
string
required
Example:

"password"

username
string
required
Example:

"johndoe"

countryCode
string
Example:

"BR"

groups
string[]
Example:
phone
string
Example:

"+5511998888777"

Response

Created

countryCode
string
Example:

"BR"

email
string
Example:

"john@example.com"

firstName
string
Example:

"John"

groups
string[]
id
string
Example:

"123e4567-e89b-12d3-a456-426614174000"

lastName
string
Example:

"Doe"

mfa
object
phone
string
Example:

"+5511998888777"

username
string
Example:

"johndoe"