Skip to main content

Network ACL

Named ACL lists containing ordered allow/deny rules, applied to VPC tiers.

Resource base path: /restapi/networkacllist

MethodPathDescription
POST/restapi/networkacllist/createNetworkAclCreate Network ACL
GET/restapi/networkacllist/networkAclListNetwork ACL List
DELETE/restapi/networkacllist/deleteNetworkAcl/{uuid}Delete Network ACL
note

apikey and secretkey are required HTTP headers on every request and are omitted from the parameter tables below. See Authentication.


Create Network ACL

Create Network ACL.

POST /restapi/networkacllist/createNetworkAcl

Request body

FieldTypeRequiredDescription
namestringNoName of the resource.
descriptionstringNoHuman-readable description.
vpcUuidstringNoUUID of the VPC.
{
"name": "example-name",
"description": "string",
"vpcUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Example request

curl -X POST \
"https://portal.your-domain.com/restapi/networkacllist/createNetworkAcl" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "example-name",
"description": "string",
"vpcUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}'

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"count": 1,
"listNetworkAclListResponse": [
{
"name": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"vpcUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "Active"
}
]
}

Network ACL List

Network ACL List.

GET /restapi/networkacllist/networkAclList

Parameters

ParameterInTypeRequiredDescription
zoneUuidquerystring✅ YesUUID of the zone the resource belongs to.
uuidquerystringNoUUID of the resource.
vpcUuidquerystringNoUUID of the VPC.

Example request

curl -X GET \
"https://portal.your-domain.com/restapi/networkacllist/networkAclList?zoneUuid=a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
401Invalid authentication credentials.
550Permission denied.
{
"count": 1,
"listNetworkAclListResponse": [
{
"name": "example-name",
"zoneUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"description": "string",
"isActive": true,
"uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"vpcUuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "Active"
}
]
}

Delete Network ACL

Delete Network ACL.

DELETE /restapi/networkacllist/deleteNetworkAcl/{uuid}

Parameters

ParameterInTypeRequiredDescription
uuidpathstring✅ YesUUID of the resource.

Example request

curl -X DELETE \
"https://portal.your-domain.com/restapi/networkacllist/deleteNetworkAcl/a1b2c3d4-e5f6-7890-abcd-ef1234567890" \
-H "apikey: YOUR_API_KEY" \
-H "secretkey: YOUR_SECRET_KEY"

Responses

CodeDescription
200Successful operation.
204No content.
401Invalid authentication credentials.
550Permission denied.
true