Create a new user

Creates a user account. Requires appropriate permissions.

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
idintegerOptional
emailstringOptional
first_namestringOptional
last_namestringOptional
organisation_idintegerOptional
is_adminbooleanOptionalDefaults to false
is_staffbooleanOptionalDefaults to false
is_activebooleanOptionalDefaults to false
is_email_verifiedbooleanOptionalDefaults to false
is_superuserbooleanOptionalDefaults to false
createddatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z
groupslist of objectsOptional

Errors

400
Create User Request Bad Request Error