VPS: Firewall

Sync firewall to all assigned VMs

Changed on

Sync a firewall's rules to every virtual machine it's assigned to.

Firewall can lose sync with a virtual machine if the firewall has new rules added, removed or updated.

Use this endpoint to apply updated firewall rules to all VPS instances assigned to the firewall.

post/api/vps/v1/firewall/{firewallId}/sync

Request

  • Base URL: https://developers.hostinger.com
  • URL: https://developers.hostinger.com/api/vps/v1/firewall/{firewallId}/sync
  • Auth: HTTP bearer

Path parameters

firewallIdinteger required
Example:9449049

Firewall ID

Response

Success empty response

messagestring

Example response

{
  "message": "Request accepted"
}

Changes