IAM 身份中心-更新指定实例的访问控制属性配置:请求示例

时间:2024-09-13 17:36:21

请求示例

更新指定实例的访问控制属性配置。

PUT https://{hostname}/v1/instances/{instance_id}/access-control-attribute-configuration

{
  "instance_access_control_attribute_configuration" : {
    "access_control_attributes" : [ {
      "key" : "email",
      "value" : {
        "source" : [ "${path:emails[primary eq true].value}" ]
      }
    }, {
      "key" : "nickName",
      "value" : {
        "source" : [ "${path:nickName}" ]
      }
    } ]
  }
}
support.huaweicloud.com/api-identitycenter/UpdateInstanceAccessControlAttributeConfiguration.html