These docs are for v1.5.3. 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 anchor.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
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

Object storing meta data about the user. Some property names are reserved, but properties are not limitted to the one listed here.

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
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json