Skip to main content
POST
/
cdn
/
admin
/
default_region
Set client default location handler
curl --request POST \
  --url https://api.gcore.com/cdn/admin/default_region \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": 1,
  "name": "region"
}'
This response does not have an example.

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

Body

application/json
client_id
integer
required

Client account ID.

name
string
required

Region name.

Get the client default location handler to learn more about regions that can be used as the default location handler.

Response

Successful.