Docs
api
Access Control(IAM)
ListUsersForGroup

List the users included in the user group - ListUsersForGroup

Overview

List the users included in the user group

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListUsersForGroup.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
GroupNamestringUser Group NameYes
LimitstringThe number of users within the group to be queriedNo
OffsetstringStart querying from which data entryNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
Usersarray[UserForGroup]User Information ArrayYes
TotalCountintTotalYes

Data Model

UserForGroup

Field NameTypeDescription InformationRequired
EmailstringEmailYes
UserNamestringUsernameYes
DisplayNamestringNicknameNo
JoinedAtintTimestamp when the user is added to the user groupNo

Example

Request Example

https://api.ucloud-global.com/?Action=ListUsersForGroup
&GroupName=KuKDjeCr
&Limit=JQyYOWCO
&Offset=PrpveeyA

Response Example

{
  "Action": "ListUsersForGroupResponse",
  "Message": "XECMcnes",
  "RetCode": 0,
  "TotalCount": 8,
  "Users": [
    {
      "CreateAt": 6,
      "DisplayName": "nEiDkUhx",
      "Email": "yDPYuLBl",
      "JoinedAt": "EWhIPVXP",
      "Status": "yes",
      "UserName": "NWwNBOgF"
    }
  ]
}