Allow All Traffic
Attaches an "allow all traffic" security group to the load balancer's underlying VM, opening all inbound and outbound traffic. The vm_id path parameter is the load balancer's node_detail.vm_id. The request body is an empty JSON object.
POST
/api/v1/security_group/{vm_id}/allow-all-traffic-node/Path parameters
vm_idPathintegerrequiredThe
vm_idfield from thenode_detailobject in the List Load Balancers response.- required
- must be a valid VM ID
example23456
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 load balancer.
- must be a non-empty string
example{{location}}
Request body
application/json
No fields are required - send an empty JSON object. The target VM is identified by the vm_id path parameter.
Responses
200Successful response
example
200example
example
Security Group attached successfully.