Dedicated Servers

Update firewall state / sensitivity for an IP

Requires the firewall capability — otherwise returns 404 NOT_SUPPORTED.

put/dedicated/{serviceId}/firewall

Request

  • Base URL: https://api.imprezahost.com/v1
  • URL: https://api.imprezahost.com/v1/dedicated/{serviceId}/firewall
  • Auth: API key in header X-API-Key and API key in header X-API-Secret

Path parameters

serviceIdinteger required

WHMCS service id (tblhosting.id)

Request body

ipstring ipv4 required
state'always_on' | 'redirect_on_attack' | 'null' nullable

Set to null to leave unchanged

sensitivity'low' | 'normal' | 'medium' | 'high' | 'null' nullable

Set to null to leave unchanged

Example request

{
  "ip": "192.0.2.10"
}

Response

Firewall updated

Changes

No recorded changes to this operation across all 1 revision of this API.