Skip to main content
PUT
/
cdn
/
resellers
/
me
Change account settings
curl --request PUT \
  --url https://api.gcore.com/cdn/resellers/me \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "default_enabled_features": [
    2,
    3
  ]
}'
{
  "id": 1,
  "available_features": [
    1,
    2,
    3
  ],
  "default_enabled_features": [
    2,
    3
  ]
}

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
default_enabled_features
integer[]

Paid features IDs that will be enabled for new clients created after the field value is specified.

The list must contain available features only.

Response

Successful.

id
integer

Reseller account ID.

available_features
integer[]

IDs of paid features that you can manage for your clients accounts.

Feature ID.

default_enabled_features
integer[]

IDs of paid features that will be enabled for new clients.

Feature ID.

I