DDoS Mitigation
Upsert Protection Profile
put
/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.
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
Cuerpo de la petición
Schema for creating/updating a protection profile.
application/jsonObligatorio
tcp_validation_level?integer
Rango
0 ≤ value ≤ 10Por defecto1tcp_validation_sym_level?integer
Rango
0 ≤ value ≤ 10Por defecto0udp_validation_level?integer
Rango
0 ≤ value ≤ 10Por defecto0invalid_filter_level?integer
Rango
0 ≤ value ≤ 10Por defecto1fragmented_filter_level?integer
Rango
0 ≤ value ≤ 10Por defecto1amplification_udp_level?integer
Rango
0 ≤ value ≤ 10Por defecto1amplification_tcp_level?integer
Rango
0 ≤ value ≤ 10Por defecto1icmp_rate_limit_level?integer
Rango
0 ≤ value ≤ 10Por defecto0same_packet_size_level?integer
Rango
0 ≤ value ≤ 10Por defecto1stateful_firewall_level?integer
Rango
0 ≤ value ≤ 10Por defecto0default_action?integer
Rango
0 ≤ value ≤ 2Por defecto0country_mode?integer
Rango
0 ≤ value ≤ 2Por defecto0asn_mode?integer
Rango
0 ≤ value ≤ 2Por defecto0prefix_list_mode?integer
Rango
0 ≤ value ≤ 2Por defecto0udp_threshold_pps?integer
Rango
0 ≤ value ≤ 100000000Por defecto200000tcp_threshold_pps?integer
Rango
0 ≤ value ≤ 100000000Por defecto100000tcp_syn_threshold_pps?integer
Rango
0 ≤ value ≤ 100000000Por defecto10000tcp_ack_threshold_pps?integer
Rango
0 ≤ value ≤ 100000000Por defecto100000icmp_threshold_pps?integer
Rango
0 ≤ value ≤ 100000000Por defecto2000udp_threshold_mbps?integer
Rango
0 ≤ value ≤ 100000Por defecto1000tcp_threshold_mbps?integer
Rango
0 ≤ value ≤ 100000Por defecto1000tcp_syn_threshold_mbps?integer
Rango
0 ≤ value ≤ 100000Por defecto1000tcp_ack_threshold_mbps?integer
Rango
0 ≤ value ≤ 100000Por defecto1000icmp_threshold_mbps?integer
Rango
0 ≤ value ≤ 100000Por defecto20syn_flood_threshold?integer
Rango
0 ≤ value ≤ 10000Por defecto0syn_flood_block_secs?integer
Rango
0 ≤ value ≤ 86400Por defecto60always_on_mitigation?integer | null
Rango
0 ≤ value ≤ 1symmetric_routing?integer | null
Rango
0 ≤ value ≤ 1Respuestas
Successful Response
application/json
detail*string