PUT
/
cdn
/
resources
/
{resource_id}
/
shielding_v2
curl --request PUT \
  --url https://api.gcore.com/cdn/resources/{resource_id}/shielding_v2 \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "shielding_pop": 4
}'
{
  "shielding_pop": 4
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

resource_id
integer
required

CDN resource ID.

Body

application/json

Response

200
application/json

Successful.

The response is of type object.