参数名字 | 描述 |
---|---|
auth_source_ldap_id 选填 |
LDAP 认证源的 ID Validations:
|
usergroup_id 选填 |
用户组 ID Validations:
|
role_id 选填 |
角色 ID Validations:
|
location_id 选填 |
根据位置界定的范围 Validations:
|
organization_id 选填 |
根据机构界定的范围 Validations:
|
search 选填 |
过滤结果 Validations:
|
order 选填 |
排序项和顺序,例如 ‘id DESC’ Validations:
|
page 选填 |
页号,从 1 开始 Validations:
|
per_page 选填 |
每页中显示的返回结果数 Validations:
|
字段名 | 类型 | 可能的值 |
---|---|---|
admin | true, false | |
auth_source | ||
auth_source_type | ||
description | ||
firstname | ||
last_login_on | ||
lastname | ||
location | ||
location_id | ||
login | ||
organization | ||
organization_id | ||
role | ||
role_id | ||
usergroup |
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
Adds role 'Default role' to the user by default
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
user 必填 |
Validations:
|
user[login] 必填 |
Validations:
|
user[firstname] 选填 , 允许空值 |
Validations:
|
user[lastname] 选填 , 允许空值 |
Validations:
|
user[mail] 必填 |
Validations:
|
user[description] 选填 , 允许空值 |
Validations:
|
user[admin] 选填 , 允许空值 |
是管理员帐户 Validations:
|
user[password] 选填 , 允许空值 |
必需的,除非用户位于一个外部的认证源 Validations:
|
user[default_location_id] 选填 , 允许空值 |
Validations:
|
user[default_organization_id] 选填 , 允许空值 |
Validations:
|
user[auth_source_id] 必填 |
Validations:
|
user[timezone] 选填 , 允许空值 |
用户的时区 Validations:
|
user[locale] 选填 , 允许空值 |
用户的首选区域设置 Validations:
|
user[role_ids] 选填 , 允许空值 |
Validations:
|
user[location_ids] 选填 , 允许空值 |
使用给定 id 替换位置 Validations:
|
user[organization_ids] 选填 , 允许空值 |
使用给定 id 替换机构 Validations:
|
Adds role 'Default role' to the user if it is not already present. Only another admin can change the admin account attribute.
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|
user 必填 |
Validations:
|
user[login] 选填 |
Validations:
|
user[firstname] 选填 , 允许空值 |
Validations:
|
user[lastname] 选填 , 允许空值 |
Validations:
|
user[mail] 选填 |
Validations:
|
user[description] 选填 , 允许空值 |
Validations:
|
user[admin] 选填 , 允许空值 |
是管理员帐户 Validations:
|
user[password] 选填 , 允许空值 |
必需的,除非用户位于一个外部的认证源 Validations:
|
user[default_location_id] 选填 , 允许空值 |
Validations:
|
user[default_organization_id] 选填 , 允许空值 |
Validations:
|
user[auth_source_id] 选填 |
Validations:
|
user[timezone] 选填 , 允许空值 |
用户的时区 Validations:
|
user[locale] 选填 , 允许空值 |
用户的首选区域设置 Validations:
|
user[role_ids] 选填 , 允许空值 |
Validations:
|
user[location_ids] 选填 , 允许空值 |
使用给定 id 替换位置 Validations:
|
user[organization_ids] 选填 , 允许空值 |
使用给定 id 替换机构 Validations:
|
user[current_password] 选填 , 允许空值 |
用户想要更改自己的密码时需要 Validations:
|
参数名字 | 描述 |
---|---|
location_id 选填 |
Set the current location context for the request Validations:
|
organization_id 选填 |
Set the current organization context for the request Validations:
|
id 必填 |
Validations:
|