Queries the information of a RAM user group.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetGroup

The operation that you want to perform. Set the value to GetGroup.

GroupName String Yes Dev-Team

The name of the RAM user group.

If you want to query the name of a RAM user group, call the ListGroups operation.

Response parameters

Parameter Type Example Description
Group Struct

The information of the RAM user group.

Comments String Development team

The description of the RAM user group.

CreateDate String 2015-01-23T12:33:18Z

The time when the RAM user group was created.

GroupName String Dev-Team

The name of the RAM user group.

UpdateDate String 2015-02-11T03:15:21Z

The time when the RAM user group was modified.

RequestId String D4065824-E422-3ED6-68B1-1AF7D5C7804C

The ID of the request.

Examples

Sample requests

https://ram.aliyuncs.com/?Action=GetGroup
&GroupName=Dev-Team
&<Common request parameters>

Sample success responses

XML format

<GetGroupResponse>
      <RequestId>D4065824-E422-3ED6-68B1-1AF7D5C7804C</RequestId>
      <Group>
            <GroupName>Dev-Team</GroupName>
            <Comments>Development team</Comments>
            <CreateDate>2015-01-23T12:33:18Z</CreateDate>
            <UpdateDate>2015-02-11T03:15:21Z</UpdateDate>
      </Group>
</GetGroupResponse>

JSON format

{
    "RequestId": "D4065824-E422-3ED6-68B1-1AF7D5C7804C",
    "Group": {
        "GroupName": "Dev-Team",
        "Comments": "Development team",
        "CreateDate": "2015-01-23T12:33:18Z",
        "UpdateDate": "2015-02-11T03:15:21Z"
    }
}

Error codes

For a list of error codes, visit the API Error Center.