Skip to main content
GET
/
cdn
/
clients
/
{client_id}
/
service
Get CDN service status details
curl --request GET \
  --url https://api.gcore.com/cdn/clients/{client_id}/service \
  --header 'Authorization: <api-key>'
{
  "enabled": true,
  "status": "active",
  "updated": "2021-06-10T10:30:04.954354Z"
}

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.

Response

Successful.

CDN service status.

enabled
boolean

Defines whether the service is activated.

Possible values are:

  • true - Service is activated.
  • false - Service is not activated.
status
string

Service status.

Possible values:

  • new - CDN service is not activated.
  • trial - Free trial is in progress.
  • trialend - Free trial has ended and CDN service is stopped. All client CDN resources are suspended.
  • activating - CDN service is being activated. It can take up to 15 minutes.
  • active - CDN service is active.
  • paused - CDN service is stopped. All client CDN resources are suspended.
  • deleted - CDN service is stopped. All client CDN resources are deleted.
updated
string

Date of the last status update.

I