Updates RAM user group information.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes UpdateGroup

The name of this action.

Value: UpdateGroup

GroupName String Yes Dev-Team

The RAM user group name. It must be 1 to 64 characters in length.

Pattern: ^[a-zA-Z0-9\-]+$.

NewComments String No Development team The new comment. It must be 1 to 128 characters in length.
NewGroupName String No NewDev-Team

The new RAM user group name. It must be 1 to 64 characters in length.

Pattern: ^[a-zA-Z0-9\-]+$.

Response parameters

Parameter Type Example value Description
Group N/A N/A The information that relates to the RAM user group.
Comments String Development team The comment.
CreateDate String 2015-01-23T12:33:18Z The date and time when the RAM user group was created.
GroupName String NewDev-Team The RAM user group name.
UpdateDate String 2015-01-23T12:33:18Z The date and time when the RAM user group was modified.
RequestId String EC6647CC-0A36-EC7A-BA72-CC81BF3DE182 The request ID.

Example

Request example

https://ram.aliyuncs.com/?Action=UpdateGroup
&GroupName=Dev-Team
&NewGroupName=NewDev-Team
&<Common parameters>            

Response example

XML format

<UpdateGroupResponse>
  <RequestId>EC6647CC-0A36-EC7A-BA72-CC81BF3DE182</RequestId>
  <Group>
    <GroupName>NewDev-Team</GroupName>
    <Comments>Development team</Comments>
    <CreateDate>2015-01-23T12:33:18Z</CreateDate>
    <UpdateDate>2015-01-23T12:33:18Z</UpdateDate>
  </Group>
</UpdateGroupResponse>

JSON format

{
    "RequestId":"EC6647CC-0A36-EC7A-BA72-CC81BF3DE182",
    "Group":{
        "Comments":"Development team",
        "GroupName":"NewDev-Team",
        "UpdateDate":"2015-01-23T12:33:18Z",
        "CreateDate":"2015-01-23T12:33:18Z"
    }
}

Errors

For a list of error codes, visit the API Error Center.