Create user

Create a user within an organization.

Request
Security:
path Parameters
orgId
required
string

The ID of the organization. Obtain this from GET /organizations.

Example: 62
Request Body schema: application/json
email
required
string <email> (Email)

The email address of the entity.

password
required
string <password> (Password) >= 8 characters

The password of the entity. The password must contain eight characters, including one upper case and one lower case letter, one number, and one special character.

role
required
string (Role)

The role of the entity.

Enum: "restricted" "user" "administrator" "supervisor"
groupIds
Array of integers (Group ID) unique

The IDs of the requested groups.

Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

post/organizations/{orgId}/users
Request samples
application/json
{
  • "email": "email@email.com",
  • "password": "123Abcd!",
  • "role": "restricted",
  • "groupIds": [
    ]
}
Response samples
application/json
{
  • "requestId": "df5fg-45fgfdsg-45fg-45454",
  • "userId": 32
}