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.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

network*string

Respuestas

Successful Response

application/json

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