Querying List of Policies Associated with a User Group

Last updated: 2020-06-05 19:43:11


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new CAM API 3.0 which is standardized and faster.

    API Description

    This API (ListAttachedGroupPolicies) is used to query the list of policies associated with a user group.

    Request domain name:


    Input Parameters

    The following request parameter list only provides the API request parameters. Other parameters can be found in Common Request Parameters.

    Parameter Name Type Required Description
    groupId int Yes User group ID
    page int No Page number, which starts from 1. It defaults to 1.
    rp int No Page size. It defaults to 20.

    Output Parameters

    For more information, see ListPolicies API description.





        "code": 0,
        "message": "",
        "codeDesc": "Success",
        "data": {
            "totalNum": 1,
            "list": [
                    "policyId": 1,
                    "policyName": "AdministratorAccess",
                    "addTime": "2018-04-09 16:31:19",
                    "createMode": 2

    Error Codes

    For more information, see Error Codes.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback