Obtains RAM user group information.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes GetGroup

The name of this action.

Value: GetGroup

GroupName String Yes Dev-Team

The RAM user group name. It must be 1 to 64 characters in length.

Pattern: ^[a-zA-Z0-9\-]+$.

Response parameters

Parameter Type Example value Description
Group N/A N/A The information that relates to the RAM user group.
Comments String Development team The comment.
CreateDate String 2015-01-23T12:33:18Z The date and time when the RAM user group was created.
GroupName String Dev-Team The RAM user group name.
UpdateDate String 2015-02-11T03:15:21Z The date and time when the RAM user group was modified.
RequestId String D4065824-E422-3ED6-68B1-1AF7D5C7804C The request ID.

Example

Request example

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

Response example

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":{
        "Comments":"Development team",
        "GroupName":"Dev-Team",
        "UpdateDate":"2015-02-11T03:15:21Z",
        "CreateDate":"2015-01-23T12:33:18Z"
    }
}

Errors

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