Creates a Resource Access Management (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 |
| DisplayName |
string |
No |
The display name of the RAM user group. The name can be up to 24 characters in length. |
Dev-Team |
| Comments |
string |
No |
The description. The description can be up to 128 characters in length. |
开发团队 |
| GroupName |
string |
No |
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 (-). |
Dev-Team |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Group |
object |
The information about the RAM user group. |
|
| DisplayName |
string |
The display name of the RAM user group. |
Dev-Team |
| GroupId |
string |
The ID of the RAM user group. |
740317625433843**** |
| UpdateDate |
string |
The update time. |
2020-10-19T16:15:17Z |
| GroupName |
string |
The name of the RAM user group. |
Dev-Team |
| Comments |
string |
The description. |
开发团队 |
| CreateDate |
string |
The creation time. |
2020-10-19T16:15:17Z |
| RequestId |
string |
The request ID. |
3C38192B-7BF8-45DA-8F0A-E670EA51426C |
Examples
Success response
JSON format
{
"Group": {
"DisplayName": "Dev-Team",
"GroupId": "740317625433843****",
"UpdateDate": "2020-10-19T16:15:17Z",
"GroupName": "Dev-Team",
"Comments": "开发团队",
"CreateDate": "2020-10-19T16:15:17Z"
},
"RequestId": "3C38192B-7BF8-45DA-8F0A-E670EA51426C"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.