PATCH
/
waap
/
v1
/
domains
/
{domain_id}
/
api-discovery
/
settings
curl --request PATCH \
  --url https://api.gcore.com/waap/v1/domains/{domain_id}/api-discovery/settings \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "descriptionFileLocation": "<string>",
  "descriptionFileScanEnabled": true,
  "descriptionFileScanIntervalHours": 12,
  "trafficScanEnabled": true,
  "trafficScanIntervalHours": 12
}'
{
  "descriptionFileLocation": "<string>",
  "descriptionFileScanEnabled": true,
  "descriptionFileScanIntervalHours": 123,
  "trafficScanEnabled": true,
  "trafficScanIntervalHours": 123
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

domain_id
integer
required

The domain ID

Body

application/json

Request model for updating the API discovery settings

Response

200
application/json

Successful Response

Response model for the API discovery settings