參數名字 | 描述 |
---|---|
auth_source_ldap_id 選填 |
LDAP 認證來源的 ID Validations:
|
usergroup_id 選填 |
使用者群組 ID Validations:
|
role_id 選填 |
角色 ID Validations:
|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
search 選填 |
篩選結果 Validations:
|
order 選填 |
Sort field and order, eg. ‘id DESC’ Validations:
|
page 選填 |
頁數,從 1 開始 Validations:
|
per_page 選填 |
每頁要傳回的結果數量 Validations:
|
Field name | 類型 | Possible values |
---|---|---|
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] 選填 , 允許空值 |
Required unless user is in an external authentication source 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] 選填 , 允許空值 |
Required unless user is in an external authentication source 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] 選填 , 允許空值 |
Required when user want to change own 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:
|