List Security Groups Attached to a Node
Returns the security groups currently attached to a cluster node - each group's id, name, description, and its inbound/outbound rules. The path takes a node id (from the cluster's node_id_list, e.g. the master node).
GET
/api/v1/security_group/{node_id}/attach/Path parameters
node_idPathintegerrequiredThe
idof a cluster node (fromnode_id_listin List / Detail).- required
- must be a valid node ID
example320000
Query parameters
project_idQueryintegerrequiredIdentifier of the project to scope the request to. Required integer project ID.
- required
- must be a valid integer project ID
example{{project_id}}apikeyQuerystringrequiredAPI key used to authenticate the request.
- required
- non-empty string
example{{api_key}}locationQuerystringrequiredRegion of the cluster.
- required
- must be a valid region name (e.g., Delhi, Chennai)
example{{location}}
Responses
200Successful response
example
200Security groups attached to the node.
example
Success