PATCH
/
iam
/
products
/
availability
/
defaults
Edit default availabilities
curl --request PATCH \
  --url https://api.gcore.com/iam/products/availability/defaults \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "product_name": "CDN",
  "available": true
}'
{
  "product_name": "CDN",
  "available": true
}

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
product_name
enum<string>
required

Service's name.

Available options:
CDN,
STORAGE,
STREAMING,
DNS,
DDOS,
CLOUD
available
boolean
required

Availability product status:

  • true - product available;
  • false - product unavailable.

Response

OK.

product_name
enum<string>
required

Service's name.

Available options:
CDN,
STORAGE,
STREAMING,
DNS,
DDOS,
CLOUD
available
boolean
required

Availability product status:

  • true - product available;
  • false - product unavailable.