cURL
curl --request GET \ --url https://api.gcore.com/cloud/v1/ddos/accessibility/{region_id} \ --header 'Authorization: <api-key>'
{ "http_code": 123, "is_accessible": true, "message": "<string>" }
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
DDoS Protection service access status
The response is of type object.
object
Was this page helpful?