cURL
curl --request POST \ --url https://api.gcore.com/iam/admin/paid_features \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "client_id": 123, "feature_id": 123, "feature": { "service": "CDN" } } '
{ "id": 123, "client_id": 123, "feature_id": 123, "feature": { "id": 123, "name": "<string>", "service": "CDN", "is_free": true }, "created_date": "2023-11-07T05:31:56Z" }
You can enable a paid feature for a 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's ID.
Feature's ID.
Show child attributes
The service a feature belongs to.
CDN
STORAGE
STREAMING
DNS
DDOS
CLOUD
OK.
Activated feature's ID.
A feature's name.
Shows if a feature is free or paid.
Timestamp when the feature was activated.
Was this page helpful?