curl --request POST \
--url https://api.gcore.com/iam/admin/free_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 free feature for a client.
curl --request POST \
--url https://api.gcore.com/iam/admin/free_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"
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
OK.
The response is of type object
.
Was this page helpful?