Creates 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 CreateGroup

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

GroupName String Yes Dev-Team

The name of the RAM user group. You must specify this parameter.

The name can be up to 64 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-).

DisplayName String No Dev-Team

The display name of the RAM user group.

The name can be up to 24 characters in length.

Comments String No Development team

The description.

The value can be up to 128 characters in length.

Response parameters

Parameter Type Example Description
Group Struct

The information of the RAM user group.

Comments String Development team

The description.

CreateDate String 2020-10-19T16:15:17Z

The creation time.

DisplayName String Dev-Team

The display name of the RAM user group.

GroupId String 740317625433843****

The ID of the RAM user group.

GroupName String Dev-Team

The name of the RAM user group.

UpdateDate String 2020-10-19T16:15:17Z

The update time.

RequestId String 3C38192B-7BF8-45DA-8F0A-E670EA51426C

The ID of the request.

Examples

Sample requests

https://[Endpoint]/?Action=CreateGroup
&GroupName=Dev-Team
&DisplayName=Dev-Team
&Comments=Development team
&<Common request parameters>

Sample success responses

XML format

<CreateGroupResponse>
      <Group>
            <GroupName>Dev-Team</GroupName>
            <UpdateDate>2020-10-19T16:15:17Z</UpdateDate>
            <GroupId>740317625433843****</GroupId>
            <Comments>Development team</Comments>
            <DisplayName>Dev-Team</DisplayName>
            <CreateDate>2020-10-19T16:15:17Z</CreateDate>
      </Group>
      <RequestId>3C38192B-7BF8-45DA-8F0A-E670EA51426C</RequestId>
</CreateGroupResponse>

JSON format

{
  "Group": {
    "GroupName": "Dev-Team",
    "UpdateDate": "2020-10-19T16:15:17Z",
    "GroupId": "740317625433843****",
    "Comments": "Development team",
    "DisplayName": "Dev-Team",
    "CreateDate": "2020-10-19T16:15:17Z"
  },
  "RequestId": "3C38192B-7BF8-45DA-8F0A-E670EA51426C"
}