Add regular user

Basic Information

Add regular user

请求路径

  1. POST /openapi/v1/users

Body请求参数

  1. {
  2. "nick_name": "string",
  3. "password": "stringst",
  4. "enterprise_id": "string",
  5. "email": "user@example.com",
  6. "phone": "string",
  7. "is_active": true,
  8. "origion": "string"
  9. }

request parameters

nameLocationtyperequiredillustrate
bodybodyCreateUsernonone

return result

status codeStatus code meaningillustratedata model
201CreatedsuccessCreateUser

Model

createuser

  1. {
  2. "nick_name": "string",
  3. "password": "stringst",
  4. "enterprise_id": "string",
  5. "email": "user@example.com",
  6. "phone": "string",
  7. "is_active": true,
  8. "origion": "string"
  9. }

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