v1
latestSwagger 2.02026-08-04232286653.5 KBVPC Firewall Rules
Lists all VPC firewall rules in the project and returns their details.
get/projects/{project_id}/networking/vpc-firewall-rules
Path parameters
project_idstring required
Response
Example response
{
"items": [
{
"action": "allow",
"destinations": [
{
"cidr": "10.1.2.3/24",
"resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
}
],
"direction": "ingress",
"id": "1ce839b7-3fab-46f9-8e54-7a6bb4ac1ffc",
"name": "my-firewall-rule",
"sources": [
{
"cidr": "10.1.2.3/24",
"resource_id": "306aa10d-5570-4e47-88c9-46bf11bd8737"
}
],
"state": "active",
"vpc_network_id": "74927f69-f6f6-43f4-bc0d-7bb2e864250e"
}
]
}