Skip to main content
PUT
/
cdn
/
clients
/
{client_id}
Change CDN service details
curl --request PUT \
  --url https://api.gcore.com/cdn/clients/{client_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "utilization_level": 500
}'
{
  "id": 1,
  "created": "2017-06-10T10:30:04.954354Z",
  "updated": "2017-06-10T10:30:04.954354Z",
  "service": {
    "enabled": true,
    "status": "active",
    "updated": "2017-06-10T10:30:04.954354Z"
  },
  "utilization_level": 500,
  "cname": "cli-1-hash.example.com",
  "use_balancer": false
}

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

Path Parameters

client_id
integer
required

Client account ID.

Body

application/json
utilization_level
integer

CDN traffic usage limit in gigabytes.

The value must be greater than or equal to 0.

When the limit is reached, we will send an email notification to the client.

Response

Successful.

id
integer

Client account ID.

created
string

Date of the first synchronization with the Platform.

updated
string

Date of the last CDN service update.

service
object

CDN service status.

utilization_level
integer

CDN traffic usage limit in gigabytes.

When the limit is reached, we will send an email notification to a client.

cname
string

Domain zone to which a CNAME record of the client CDN resources should be pointed.

use_balancer
boolean

Defines whether custom balancing is used for content delivery.

auto_suspend_enabled
boolean

Defines whether resources will be deactivated automatically by inactivity.

Example:

true

I