DDoS Mitigation

Get Profile Countries

get/ddos-mitigation/profiles/{network}/countries

Get the countries assigned to a protection profile for geo-blocking.

Returns an empty list if the IP has no profile yet. You can assign countries before creating the profile.

Authorization

Authorization
Authorization*string

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

Path parameters

network*string

Responses

Successful Response

application/json

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