Querying List of User Groups

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


    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 (ListGroups) is used to query the list of user groups.

    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
    page int No Page number, which starts from 1 and cannot be greater than 200. It defaults to 1.
    rp int No Number of items on each page, which must be greater than 0 and less than or equal to 200. It defaults to 20.
    keyword string No Matches based on user group name.

    Output Parameters

    Parameter Name Type Description
    totalNum int Total number of user groups
    groupInfo array Array of user groups, where each member has the following fields: groupId (user group ID), groupName (user group name), createTime (time when a user group is created), and remark (user group description).





        "code": 0,
        "message": "",
        "codeDesc": "Success",
        "data": {
            "groupInfo": [
                    "groupId": 26705,
                    "groupName": "ckwmwsllx",
                    "channel": 3,
                    "remark": "Zhehenxiyou 5",
                    "createTime": "2017-10-23 20:49:49"
                    "groupId": 23742,
                    "groupName": "gtdx",
                    "channel": 3,
                    "remark": null,
                    "createTime": "2017-07-24 19:42:39"
            "totalNum": "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