Modifies the name of a server group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyGroupProperty |
The operation that you want to perform. Set the value to ModifyGroupProperty. |
Data | String | Yes | [{"groupFlag":1,"groupId":8436682,"groupIndex":,"groupName":"example"}] |
The new attributes of the server group after modification. The attributes consist of the following parameters:
Note You can call the DescribeAllGroups operation to query the values of the groupFlag and groupId parameters. You cannot
change the values of the groupFlag or groupId parameter. You can change only the value
of the groupName parameter.
|
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 7E0618A9-D5EF-4220-9471-C42B5E92719F |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyGroupProperty
&Data=[{"groupFlag":1,"groupId":8436682,"groupIndex":,"groupName":"example"}]
&<Common request parameters>
Sample success responses
XML
format
<ModifyGroupPropertyResponse>
<RequestId>7E0618A9-D5EF-4220-9471-C42B5E92719F</RequestId>
</ModifyGroupPropertyResponse>
JSON
format
{
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F"
}
Error codes
For a list of error codes, visit the API Error Center.