更新 Baseline 接口
功能介绍
Baseline 数据更新接口
URI
PUT /v1/internal/rgc/baseline
请求参数
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
version |
是 |
String |
baseline 版本 |
|
agencies |
是 |
Array of agency objects |
|
|
identity |
是 |
identity object |
|
|
manage_special |
是 |
manage_special object |
|
|
organizations |
是 |
Array of organization objects |
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
permission_sets |
是 |
Array of permissionSet objects |
|
|
groups |
是 |
Array of group objects |
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
permission_set_name |
是 |
String |
|
|
description_zh |
是 |
String |
|
|
description_en |
是 |
String |
|
|
policies_name |
是 |
Array of strings |
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
agency_type |
是 |
String |
|
|
agency_name |
是 |
String |
|
|
principal_type |
是 |
String |
|
|
principal |
是 |
String |
|
|
agency_policy |
否 |
Array of strings |
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
organization_name |
是 |
String |
|
|
organization_type |
是 |
String |
|
|
controls |
是 |
Array of strings |
|
|
resources |
是 |
Array of strings |
|
|
accounts |
是 |
Array of account objects |
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
account_name |
是 |
String |
|
|
account_type |
是 |
String |
|
|
controls |
是 |
Array of strings |
|
|
resources |
是 |
Array of strings |
|
|
identity_infos |
是 |
identity_infos object |
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
allocated_users |
是 |
Array of strings |
|
|
attach_groups |
是 |
Array of strings |
|
|
allocated_groups |
是 |
Array of allocatedGroups objects |
响应参数
状态码:200
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
baseline |
BaselineBody object |
baseline 预置模板参数 |
|
update_time |
String |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
version |
String |
baseline 版本 |
|
agencies |
Array of agency objects |
|
|
identity |
identity object |
|
|
manage_special |
manage_special object |
|
|
organizations |
Array of organization objects |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
permission_sets |
Array of permissionSet objects |
|
|
groups |
Array of group objects |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
permission_set_name |
String |
|
|
description_zh |
String |
|
|
description_en |
String |
|
|
policies_name |
Array of strings |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
agency_type |
String |
|
|
agency_name |
String |
|
|
principal_type |
String |
|
|
principal |
String |
|
|
agency_policy |
Array of strings |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
organization_name |
String |
|
|
organization_type |
String |
|
|
controls |
Array of strings |
|
|
resources |
Array of strings |
|
|
accounts |
Array of account objects |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
account_name |
String |
|
|
account_type |
String |
|
|
controls |
Array of strings |
|
|
resources |
Array of strings |
|
|
identity_infos |
identity_infos object |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
allocated_users |
Array of strings |
|
|
attach_groups |
Array of strings |
|
|
allocated_groups |
Array of allocatedGroups objects |
请求示例
无
响应示例
状态码:200
请求成功。
{
"update_time" : "string"
}
状态码
|
状态码 |
描述 |
|---|---|
|
200 |
请求成功。 |
错误码
请参见错误码。