v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Update countries

Update the country-based IP blocking configuration for an app

put/firewall/apps/{app_id}/countries

Path parameters

app_idinteger required

The ID of the Zen app

Request body

mode'block' | 'allow' required

'block' = block requests from specified countries, 'allow' = only allow requests from specified countries

liststring[] required

Response

The countries configuration has been successfully updated

successboolean

Indicates whether the operation was successful

Example response

{
  "success": true
}