Create a new user
Request parameters
{
"identifier": "ben",
"name": "Benjamin Zhang",
"email": "z@benwk.com",
"user_type": "saas_user",
"password": "example"
}
Responses
{
"id": "d4add56e-c345-4ac9-b392-7a890a60559a",
"identifier": "ben",
"name": "Benjamin Zhang",
"email": "z@benwk.com",
"user_type": "saas_admin",
"status": "active",
"created_at": "2023-05-06T00:00:00Z",
"updated_at": "2023-05-06T00:00:00Z",
"created_by": "98d91cd7-860d-4869-937a-5af32eff2f4a",
"updated_by": "98d91cd7-860d-4869-937a-5af32eff2f4a"
}
{
"error": "Bad Request."
}
{
"error": "Access token is missing or invalid."
}
{
"error": "Access forbidden."
}
{
"error": "$ENTITY with this $FIELD already exists"
}
{
"error": "You have reached maximum request limit."
}
{
"error": "Internal server error occurred."
}
Request parameters
{
"identifier": "ben",
"name": "Benjamin Zhang",
"email": "z@benwk.com",
"user_type": "saas_user",
"password": "example"
}
Responses
{
"id": 11,
"username": "theUser",
"firstName": "John",
"lastName": "Doe",
"email": "john@email.com",
"password": "12345",
"phone": "12345",
"userStatus": 1
}
Last modified: 18 April 2024