POST
/
iam
/
admin
/
free_features
Enable a free feature
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"
}

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

OK.

The response is of type object.