Update default firewall policy
Update the default firewall policy for a specific instance.
Authorization
ApiKeyAuth x-apikey<token>
In: header
Path Parameters
instance_uuid*string
UUID of the instance
Format
uuidRequest Body
application/x-www-form-urlencoded
TypeScript Definitions
Use the request body type in TypeScript.
action*string
Firewall action (A for ACCEPT, D for DROP)
Response Body
application/json
curl -X PATCH "https://api.dewavps.com/v1/instance/497f6eca-6276-4993-bfeb-53cbbbba6f08/firewall/default/update" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'action=string'{
"message": "Default firewall policy successfully updated",
"data": {
"action": "ACCEPT"
}
}