You can call this operation to modify the security group to which the cluster belongs.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifySecurityGroups

The operation that you want to perform. Set the value to ModifySecurityGroups.

ClusterId String Yes cds-bp142mt7****136k

The ID of the cluster.

SecurityGroupIds String Yes sg-t4ng4yyc916o81nua6**,sg-******

The ID of the security group to which the cluster belongs. The number of security group ID must be no more than three. You can separate multiple security group IDs with commas (,).

Response parameters

Parameter Type Example Description
RequestId String 4EC521F2-5E15-41F8-92C2-0C454EA02434

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=ModifySecurityGroups
&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": "4EC521F2-5E15-41F8-92C2-0C454EA02434"

Error codes

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