DDoS Mitigation
Update Profile Countries
put
/ddos-mitigation/profiles/{network}/countriesUpdate the countries assigned to a protection profile.
Replaces all existing country assignments with the provided list.
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
Request body
Schema for updating country assignments.
application/jsonRequired
iso_codes?array<string>
List of country ISO codes to assign
Responses
Successful Response
application/json
detail*string