Skip to main content

Add regular user

Basic Information

Add regular user

请求路径
POST /openapi/v1/users
Body请求参数
{
"nick_name": "string",
"password": "stringst",
"enterprise_id": "string",
"email": "user@example.com",
"phone": "string",
"is_active": true,
"origion": "string"
}

request parameters

nameLocationtyperequiredillustrate
bodybodyCreateUsernonone

return result

status codeStatus code meaningillustratedata model
201CreatedsuccessCreateUser

Model

createuser

{
"nick_name": "string",
"password": "stringst",
"enterprise_id": "string",
"email": "user@example.com",
"phone": "string",
"is_active": true,
"origion": "string"
}

Attributes

nametyperequiredconstraintChinese nameillustrate
nick_namestringtruenoneNick nameUser's Nickname
passwordstringtruenonePasswordpassword
enterprise_idstringtruenoneEnterprise identerprise_id
emailstring(email)falsenoneEmailemail address
phonestringfalsenonePhonecellphone number
is_activebooleanfalsenoneIs activeactive state
origionstringfalsenoneOrigionUser source