Domain name for API request: cam.intl.tencentcloudapi.com.
This API is used to query the list of users associated with a user group.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ListUsersForGroup. |
| Version | Yes | String | Common Params. The value used for this API: 2019-01-16. |
| Region | No | String | Common Params. This parameter is not required. |
| GroupId | Yes | Integer | User group ID |
| Page | No | Integer | Page number; default is 1 |
| Rp | No | Integer | Number of entries per page; default is 20 |
| Parameter Name | Type | Description |
|---|---|---|
| TotalNum | Integer | Total number of users associated with the User Group |
| UserInfo | Array of GroupMemberInfo | Sub-user information |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
https://cam.intl.tencentcloudapi.com/?Action=ListUsersForGroup
&GroupId=2020
&<Common request parameters>
{
"Response": {
"TotalNum": 1,
"UserInfo": [
{
"Uid": 1001408,
"Uin": 100000545998,
"Name": "testName",
"PhoneNum": "",
"CountryCode": "86",
"PhoneFlag": 0,
"Email": "",
"EmailFlag": 0,
"UserType": 3,
"CreateTime": "2018-04-24 15:36:26",
"IsReceiverOwner": 0
}
],
"RequestId": "576e68f4-49cf-451b-b717-a584cb68910a"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| ResourceNotFound.GroupNotExist | User group does not exist. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan