POST
/
cdn
/
admin
/
free_features
Enable free feature
curl --request POST \
  --url https://api.gcore.com/cdn/admin/free_features \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "client_id": 1,
  "feature_id": 1
}'
{
  "id": 1,
  "client_id": 1,
  "feature": {
    "id": 1,
    "name": "Example 1",
    "service": "CDN",
    "is_free": true
  },
  "feature_id": 1,
  "create_date": "2021-01-01 00:00:00+00:00"
}

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

Response

201
application/json

Successful.

The response is of type object.