GetGroup
In this article:
GetGroup#
Description#
Retrieves information about the specified IAM group and its members.
Request Parameters#
GroupArn — The Amazon Resource Name (ARN) of the group.
Type: String
Required: Yes
Response Elements#
Examples#
Request
https://iam.k2.cloud/?Action=GetGroup
&GroupArn=arn:c2:iam:::group/CloudAdministrators
Response
<GetGroupResponse>
<GetGroupResult>
<Group>
<GroupArn>arn:c2:iam:::group/CloudAdministrators</GroupArn>
<GroupId>ea1140b5-72d5-4aa3-9d1e-83621250a542</GroupId>
<GroupName>CloudAdministrators</GroupName>
<Owner>provider</Owner>
<Type>project</Type>
<CreateDate>1716497399</CreateDate>
</Group>
<Users>
<member>
<UserArn>arn:c2:iam::c2dev:user/user-1</UserArn>
<UserId>a73bacad-aeca-4916-b37a-7d5f871b068e</UserId>
<UserName>user-1</UserName>
<Login>user-1@c2dev</Login>
<DisplayName>New Name</DisplayName>
<Enabled>true</Enabled>
<UpdateDate>1724426935</UpdateDate>
<LastLoginDate>1724426979</LastLoginDate>
<Projects>
<member>
<ProjectArn>arn:c2:iam::c2dev:project/project-1</ProjectArn>
<ProjectId>30ad3cc4-b68d-4882-8ad6-cf01ef1774c2</ProjectId>
<ProjectName>project-1</ProjectName>
</member>
</Projects>
</member>
</Users>
</GetGroupResult>
<requestId>0ec8592c-883c-440a-bc3a-8a935ad87af9</requestId>
<ResponseMetadata>
<RequestId>0ec8592c-883c-440a-bc3a-8a935ad87af9</RequestId>
</ResponseMetadata>
</GetGroupResponse>
c2-iam GetGroup GroupArn arn:c2:iam:::group/CloudAdministrators