Create a new user
POST/public/users
Creates a new user inside the instance bound to the caller's API key. Only instance administrators may call this endpoint. The instance is derived from the API key — it cannot be set in the request body. If a password is not provided, a random one is generated and the user will need to go through password reset to log in.
Request
Responses
- 201
- 400
- 401
- 403
The user was created successfully.
The request is invalid: missing fields, malformed email, invalid roleLevel, duplicate email/username, or no free license seats in the instance.
Missing or invalid API key.
The API key's user is not an admin of the instance.