You can call this operation to query basic information of security groups.


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 DescribeSecurityGroups

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

ClusterId String Yes cds-bp1u2n43****n118

The ID of the cluster.

Response parameters

Parameter Type Example Description
RequestId String C300D7C1-C45C-45F3-965C-9C4C0B7CB266

The ID of the request.

SecurityGroupIds List sg-t4ng4yyc916o81nua6**,sg-****

The IDs of security groups to which the cluster belongs.


Sample requests

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

Sample success responses

XML format


JSON format

"SecurityGroupIds": {
      "SecurityGroupIds": [
  "RequestId": "C300D7C1-C45C-45F3-965C-9C4C0B7CB266"

Error codes

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