curl --request POST \
--url https://api.bunny.net/pullzone/{pullZoneId}/edgerules/{edgeRuleId}/setEdgeRuleEnabled \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Id": 123,
"Value": true
}
'curl --request POST \
--url https://api.bunny.net/pullzone/{pullZoneId}/edgerules/{edgeRuleId}/setEdgeRuleEnabled \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Id": 123,
"Value": true
}
'API Access Key authorization header
The ID of the Pull Zone that contains the Edge Rule
The ID of the Edge Rule that should be updated
The Edge Rule was successfuly updated
Was this page helpful?