Skip to main content
GET
/
cdn
/
admin
/
default_region
Get client default location handler
curl --request GET \
  --url https://api.gcore.com/cdn/admin/default_region \
  --header 'Authorization: <api-key>'
{
  "current_handler": "region1",
  "possible_handlers": [
    "region2",
    "region3"
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

client_id
integer
required

Client account ID.

Response

Successful.

current_handler
string

Name of the region used as the default location handler.

possible_handlers
string[]

Names of regions that can be used as the default location handler.

I