cURL
curl --request GET \ --url https://api.mkinf.io/v0.1/projects/{id}/vpc/firewall-rules \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "c8c3d306-eff4-4d35-a09e-8efe320706c2", "name": "default-allow-subnet-tcp-udp-us-northcentral1-a", "direction": "ingress", "action": "allow", "vpc_network_id": "2d7fe075-b3d6-4201-b397-b17b754bece1", "state": "active", "sources": [ { "cidr": "172.27.0.0/20", "resource_id": "" } ], "source_ports": [], "destinations": [ { "cidr": "172.27.0.0/20", "resource_id": "" } ], "destination_ports": [], "protocols": [ "tcp", "udp" ] } ] }
Retrieve details about all VPC firewall rules
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Project id
The response is of type object.
object