All Products
Search
Document Center

Security Center:ModifyGroupProperty

Last Updated:Feb 20, 2024

Changes the name of a server group.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DatastringYes

The new attributes of the server group. You can specify the following parameters to configure the attributes:

  • groupFlag: the type of the server group. Valid values: 0 and 1. The value 0 specifies the Default server group. The value 1 specifies other server groups.
  • groupId: the ID of the server group.
  • groupIndex: no meaning. You can leave this parameter empty.
  • groupName: the name of the server group. The value is the new name of the server group. The new name cannot be the same as the original name of the server group.
Note You can call the DescribeAllGroups operation to obtain the values of the groupFlag and groupId parameters. You cannot change the value of the groupFlag or groupId parameter. You can change only the value of the groupName parameter.
[{"groupFlag":1,"groupId":8436682,"groupIndex":,"groupName":"example"}]

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

7E0618A9-D5EF-4220-9471-C42B5E92719F

Examples

Sample success responses

JSONformat

{
  "RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history