Skip to main content
POST
/
cdn
/
admin
/
paid_features
Enable paid feature
curl --request POST \
  --url https://api.gcore.com/cdn/admin/paid_features \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": 1,
  "feature_id": 1
}'
{
  "id": 2,
  "client_id": 2,
  "feature": {
    "id": 1,
    "name": "Example 1",
    "service": "CDN",
    "is_free": false
  },
  "feature_id": 1,
  "create_date": "2021-01-01T00:00:00.000000Z"
}

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.

feature_id
integer
required

Feature ID.

Response

Successful.

id
integer

Internal feature activation ID.

client_id
integer

Client account ID.

feature
object
feature_id
integer

Feature ID.

create_date
string<date-time>

Date and time when the feature was activated (ISO 8601/RFC 3339 format, UTC.)

I