Modifies the basic information of a specified user group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:UpdateGroup |
update |
*Group
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NewComments |
string |
No |
The new comments. Maximum length: 128 characters. |
Test team |
| NewDisplayName |
string |
No |
The new display name of the user group. Maximum length: 24 characters. |
Test-Team |
| NewGroupName |
string |
No |
The new name of the user group. Maximum length: 64 characters. The name can contain letters, digits, periods (.), underscores (_), and hyphens (-). |
Test-Team |
| GroupName |
string |
No |
The name of the user group. |
Dev-Team |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Group |
object |
The user group information. |
|
| DisplayName |
string |
The display name of the user group. |
Test-Team |
| GroupId |
string |
The ID of the user group. |
740317625433843**** |
| UpdateDate |
string |
The update time. Format: RFC 3339 (UTC). Example: 2020-10-20T03:44:27Z. |
2020-10-20T03:44:27Z |
| GroupName |
string |
The name of the user group. |
Test-Team |
| Comments |
string |
The comments. |
Test team |
| CreateDate |
string |
The creation time. Format: RFC 3339 (UTC). Example: 2020-10-19T16:15:17Z. |
2020-10-19T16:15:17Z |
| RequestId |
string |
The request ID. |
CDA656E3-3CE9-4A03-A8A3-B42A0C3C3287 |
Examples
Success response
JSON format
{
"Group": {
"DisplayName": "Test-Team",
"GroupId": "740317625433843****",
"UpdateDate": "2020-10-20T03:44:27Z",
"GroupName": "Test-Team",
"Comments": "测试团队",
"CreateDate": "2020-10-19T16:15:17Z"
},
"RequestId": "CDA656E3-3CE9-4A03-A8A3-B42A0C3C3287"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.