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.

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.

GroupId String g-FpMEHiMysofp****

The ID of the RAM user group.

GroupName String Dev-Team

The name of the RAM user group.

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

The time when the information of the RAM user group was updated.

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>
            <GroupId>g-FpMEHiMysofp****</GroupId>
	  </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",
        "GroupId": "g-FpMEHiMysofp****"
    }
}

Error codes

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