cURL
curl --request GET \ --url https://api.gcore.com/cloud/v1/pricing/{region_id}/ddos \ --header 'Authorization: <api-key>'
{ "current_month_days": 123, "current_month_days_last": 123, "next_month_days": 123, "price": { "feature_name": "<string>", "period": "<string>", "price_currency": "AED", "unit_name": "<string>", "unit_size": 123, "price_per_30d": 123, "price_per_day": 123, "price_per_hour": 123 } }
Get the DDoS protection price based on mitigation capacity.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Region ID
1
OK
Number of days in the current month
Number of days left in the current month
Number of days in the next month
DDoS protection price details
Show child attributes
Was this page helpful?