Skip to content

Allow All Traffic

POST
/api/v1/security_group/{vm_id}/allow-all-traffic-node/
curl --request POST \
--url 'https://api.e2enetworks.com/myaccount/api/v1/security_group/{vm_id}/allow-all-traffic-node/?project_id=<PROJECT_ID>&apikey=<API_KEY>&location=<LOCATION>' \
--header 'Authorization: Bearer <API_TOKEN>'

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.

vm_id
required
string

Path parameter vm_id.

project_id
required
integer

Identifier of the project to scope the request to. Required integer project ID.

Example

<PROJECT_ID>
apikey
required
string

API key used for authentication

Example

<API_KEY>
location
required
string

Specifies the location for the request

Example

<LOCATION>
Media typeapplication/json

No fields are required - send an empty JSON object. The target VM is identified by the vm_id path parameter.

object

Example generated

{}

Successful response

Media typeapplication/json
object
code

HTTP status code of the response

integer
data

String payload of the response, typically empty for allow-all traffic

string
errors
object
message

Human-readable status message for the operation.

string

Example

{
"code": 200,
"data": "",
"message": "Security Group attached successfully."
}