DDoS Mitigation
Upsert Protection Profile
/ddos-mitigation/profiles/{network}Create or update the protection profile for an IP or network.
If you provide a subnet (for example a /24), the profile is applied to each individual IP in it.
Only available for IPs with Premium protection. An IPv6 address takes every setting of the profile, country
and ASN filtering included. An IPv6 prefix (/48 to /128, inside a block you own) is stored as ONE profile
for the whole prefix, and its thresholds are totals for the prefix. For an IPv6 prefix or address,
always_on_mitigation writes one redirect row for exactly that prefix; the response of the GET tells
whether a core enforces it (scrubbing_active).
Autorización
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Parámetros de ruta
Cuerpo de la petición
Schema for creating/updating a protection profile.
0 ≤ value ≤ 10Por defecto10 ≤ value ≤ 10Por defecto00 ≤ value ≤ 10Por defecto00 ≤ value ≤ 10Por defecto10 ≤ value ≤ 10Por defecto10 ≤ value ≤ 10Por defecto10 ≤ value ≤ 10Por defecto10 ≤ value ≤ 10Por defecto00 ≤ value ≤ 10Por defecto10 ≤ value ≤ 10Por defecto00 ≤ value ≤ 2Por defecto00 ≤ value ≤ 2Por defecto00 ≤ value ≤ 2Por defecto00 ≤ value ≤ 2Por defecto00 ≤ value ≤ 100000000Por defecto2000000 ≤ value ≤ 100000000Por defecto1000000 ≤ value ≤ 100000000Por defecto100000 ≤ value ≤ 100000000Por defecto1000000 ≤ value ≤ 100000000Por defecto20000 ≤ value ≤ 100000Por defecto10000 ≤ value ≤ 100000Por defecto10000 ≤ value ≤ 100000Por defecto10000 ≤ value ≤ 100000Por defecto10000 ≤ value ≤ 100000Por defecto200 ≤ value ≤ 10000Por defecto00 ≤ value ≤ 86400Por defecto600 ≤ value ≤ 10 ≤ value ≤ 1Respuestas
Successful Response
application/json