These docs are for v1.6.2. Click to read the latest docs for v1.15.1.

Create a new domain user.

Use this operation to create a new domain user.

The properties id, created, lastModified, info and status are read-only and so must not be provided: they are managed by the platform and added to the returned user.

Body Params

User object to create (password must be provided).

string
required

Email of the user.

string
required

Password of the user (it must be provided at creation time).

roles
array of strings
required

The roles of the user:

  • ROLE_USER: regular user
  • ROLE_DOMAIN_ADMIN: domain administrator.
roles*
info
object
required
string
enum
required
Defaults to PENDING

The status of the user:

  • PENDING: the user email need to be validated
  • APPROVED: the user can loging
  • DISABLED: the user cannot login
Allowed:
Responses

400

Invalid user object. More details are returned in the response body as a JSON object.

Language
Credentials
:
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json