cURL
curl --request POST \ --url https://api.gcore.com/cdn/admin/paid_features \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "client_id": 123, "feature_id": 123 } '
{ "id": 123, "client_id": 123, "feature": { "id": 123, "name": "<string>", "service": "<string>", "is_free": true }, "feature_id": 123, "create_date": "2023-11-07T05:31:56Z" }
Enable information about the paid 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
Feature name.
Parameter is legacy.
Defines whether a feature is free or paid.
Possible values:
Date and time when the feature was activated (ISO 8601/RFC 3339 format, UTC.)
Was this page helpful?