post
/{tenantId}/v1/usersCreate user
Requires Authentication
Users
Creates a new user and adds them to the tenant
Path Parameters
| Name | Type | Description |
|---|---|---|
tenantIdrequired | string (uuid) | Tenant UUID |
Request Body
required
firstNamestring
required
lastNamestring
required
emailstring (email)
required
passwordstring
isEnabledboolean
Responses
User created
Response Bodyapplication/json
idstring (uuid)
firstNamestring
lastNamestring
emailstring
isEnabledboolean
createdAtstring (date-time)
Code Examples
curl -X POST 'https://api-next.checkio.co.uk/{tenantId}/v1/users' \
-H 'Authorization: Bearer {token}' \
-H 'Content-Type: application/json' \
-d '{
"firstName": "string",
"lastName": "string",
"email": "user@example.com",
"password": "string",
"isEnabled": true
}'