Skip to main content
GET
/
cdn
/
clients
Get CDN service
curl --request GET \
  --url https://api.gcore.com/cdn/clients \
  --header 'Authorization: <api-key>'
[
  {
    "id": 1,
    "created": "2020-07-10T10:30:04.954354Z",
    "updated": "2021-06-11T10:30:04.954354Z",
    "service": {
      "enabled": true,
      "status": "active",
      "updated": "2021-06-11T10:30:04.954354Z"
    },
    "cname": "cli-12345.example.com",
    "use_balancer": false
  },
  {
    "id": 2,
    "created": "2020-06-10T10:30:04.954354Z",
    "updated": "2021-06-10T10:30:04.954354Z",
    "service": {
      "enabled": true,
      "status": "trial",
      "updated": "2021-06-10T10:30:04.954354Z"
    },
    "cname": "cli-23456.example.com",
    "use_balancer": true
  }
]

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

Response

200 - application/json

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