统一身份认证服务 IAM-查询项目服务中的用户组权限:响应示例

时间:2024-08-10 17:55:58

响应示例

状态码为 200 时:

请求成功。

{
    "roles": [
        {
            "domain_id": null,
            "flag": "fine_grained",
            "description_cn": " 应用运维管理 服务只读权限",
            "catalog": " AOM ",
            "name": "system_all_30",
            "description": "AOM read only",
            "links": {
                "next": null,
                "previous": null,
                "self": "https://iam.myhuaweicloud.com/v3/roles/75cfe22af2b3498d82b655fbb39de498"
            },
            "id": "75cfe22af2b3498d82b655fbb39de498",
            "display_name": "AOM Viewer",
            "type": "XA",
            "policy": {
                "Version": "1.1",
                "Statement": [
                    {
                        "Action": [
                            "aom:*:list",
                            "aom:*:get",
                            "apm:*:list",
                            "apm:*:get"
                        ],
                        "Effect": "Allow"
                    }
                ]
            }
        }
    ],
    "links": {
        "next": null,
        "previous": null,
        "self": "https://iam.myhuaweicloud.com/v3/projects/065a7c66da0010992ff7c0031e5a5e7d/groups/077d71374b8025173f61c003ea0a11ac/roles"
    }
}
support.huaweicloud.com/api-iam/iam_10_0004.html