cURL
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-01T00:00:00.000000Z" }
Enable the free feature for a specific client.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Client account ID.
Feature ID.
Successful.
Internal feature activation ID.
Show child attributes
Date and time when the feature was activated (ISO 8601/RFC 3339 format, UTC.)
Was this page helpful?