You can call this operation to modify the security group to which the cluster belongs.
Debugging
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. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ModifySecurityGroups
&ClusterId=cds-bp142mt7****136k
&SecurityGroupIds=sg-t4ng4yyc916o81nua6**,sg-******
&<Common request parameters>
Sample success responses
XML
format
<ModifySecurityGroupsResponse>
<RequestId>4EC521F2-5E15-41F8-92C2-0C454EA02434</RequestId>
</ModifySecurityGroupsResponse>
JSON
format
{
"RequestId": "4EC521F2-5E15-41F8-92C2-0C454EA02434"
}
Error codes
For a list of error codes, visit the API Error Center.