v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Get countries

Get the country-based IP blocking configuration for an app

get/firewall/apps/{app_id}/countries

Path parameters

app_idinteger required

The ID of the Zen app

Response

The countries configuration has been successfully fetched

mode'block' | 'allow'

Example response

{
  "mode": "block",
  "list": [
    {
      "code": "CN",
      "name": "China"
    },
    {
      "code": "RU",
      "name": "Russia"
    }
  ]
}