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-10 10:30:04.954354+00:00",
    "updated": "2021-06-11 10:30:04.954354+00:00",
    "service": {
      "enabled": true,
      "status": "active",
      "updated": "2021-06-11 10:30:04.954354+00:00"
    },
    "cname": "cli-12345.example.com",
    "use_balancer": false
  },
  {
    "id": 2,
    "created": "2020-06-10 10:30:04.954354+00:00",
    "updated": "2021-06-10 10:30:04.954354+00:00",
    "service": {
      "enabled": true,
      "status": "trial",
      "updated": "2021-06-10 10:30:04.954354+00:00"
    },
    "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.

The response is of type object[].