DDoS Mitigation

List Countries

get/ddos-mitigation/countries

List all countries available for geo-blocking.

Returns the country codes and names you can use in whitelist and blacklist modes.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Responses

Successful Response

application/json

countries*array<CountryOut>
Properties (2)
iso_code*string
name?string | null
total*integer