Creates a RAM user group.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
ram:CreateGroup | create | *Group
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
GroupName | string | No | The name of the user group. The name must be 1 to 64 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (_). | Dev-Team |
Comments | string | No | The description. The value can be up to 128 characters in length. | Dev-Team |
Response elements
Element | Type | Description | Example |
object | The response parameters. | ||
| Group | object | The information about the group. | |
GroupId | string | The ID of the user group. | g-FpMEHiMysofp**** |
GroupName | string | The name of the user group. | Dev-Team |
Comments | string | The description. | Dev-Team |
CreateDate | string | The creation time. | 2015-01-23T12:33:18Z |
RequestId | string | The request ID. | D3F0679E-9757-95DB-AF2D-04D5188C69C5 |
Examples
Success response
JSON format
{
"Group": {
"GroupId": "g-FpMEHiMysofp****",
"GroupName": "Dev-Team",
"Comments": "Dev-Team",
"CreateDate": "2015-01-23T12:33:18Z"
},
"RequestId": "D3F0679E-9757-95DB-AF2D-04D5188C69C5"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.