POST /virtual_machines/:virtual_machine_id/update_firewall_rules

Applies firewall rules to Virtual Server

Sections:

Response Parameters

Status 200 and firewall rules returned on Success

JSON Request example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url <api_url>/virtual_machines/:virtual_machine_id/update_firewall_rules.json 

XML Request example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url <api_url>/virtual_machines/:virtual_machine_id/update_firewall_rules.xml