CreateGroup
Creates a 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 (.), underscores (_), and hyphens (-). |
Dev-Team |
| Comments |
string |
No |
The description. The description can be up to 128 characters in length. |
Development team |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The return result. |
||
| Group |
object |
The user group information. |
|
| GroupId |
string |
The ID of the user group. |
g-FpMEHiMysofp**** |
| GroupName |
string |
The name of the user group. |
Dev-Team |
| Comments |
string |
The description. |
Development team |
| CreateDate |
string |
The creation time. The time is displayed in UTC in the |
2015-01-23T12:33:18Z |
| RequestId |
string |
The ID of the request. |
D3F0679E-9757-95DB-AF2D-04D5188C69C5 |
Examples
Success response
JSON format
{
"Group": {
"GroupId": "g-FpMEHiMysofp****",
"GroupName": "Dev-Team",
"Comments": "Development 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.