Create a new user

Creates a user account (admin operation).

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
emailstringRequired
passwordstringRequired=8 characters
first_namestringRequired
last_namestringRequired
user_typeslist of stringsOptional
Group names to assign to the user
organisation_idintegerOptional
ID of the organisation to associate the user with

Response

User created
idinteger
emailstring
first_namestring
last_namestring
organisation_idinteger
is_adminbooleanDefaults to false
is_staffbooleanDefaults to false
is_activebooleanDefaults to false
is_email_verifiedbooleanDefaults to false
is_superuserbooleanDefaults to false
createddatetimeDefaults to 1970-01-01T00:00:00.000Z
groupslist of objects

Errors

400
Create User Request Bad Request Error