DewaVPS

Get default firewall policy

GET
/instance/{instance_uuid}/firewall/default

Retrieve the default firewall policy for a specific instance.

Authorization

ApiKeyAuth
x-apikey<token>

In: header

Path Parameters

instance_uuid*string

UUID of the instance

Formatuuid

Response Body

application/json

curl -X GET "https://api.dewavps.com/v1/instance/497f6eca-6276-4993-bfeb-53cbbbba6f08/firewall/default"
{
  "message": "Default network firewall policy",
  "data": {
    "policy_key": "A",
    "policy": "ACCEPT"
  }
}