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
name | Location | type | required | illustrate |
---|---|---|---|---|
body | body | CreateUser | no | none |
return result
status code | Status code meaning | illustrate | data model |
---|---|---|---|
201 | Created | success | CreateUser |
Model
createuser
{
"nick_name": "string",
"password": "stringst",
"enterprise_id": "string",
"email": "user@example.com",
"phone": "string",
"is_active": true,
"origion": "string"
}
Attributes
name | type | required | constraint | Chinese name | illustrate |
---|---|---|---|---|---|
nick_name | string | true | none | Nick name | User’s Nickname |
password | string | true | none | Password | password |
enterprise_id | string | true | none | Enterprise id | enterprise_id |
string(email) | false | none | email address | ||
phone | string | false | none | Phone | cellphone number |
is_active | boolean | false | none | Is active | active state |
origion | string | false | none | Origion | User source |