Get countries

Get the country-based IP blocking configuration for an app

get/firewall/apps/{app_id}/countries

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/firewall/apps/{app_id}/countries
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: firewall:read

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"
    }
  ]
}

Changes

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