curl --request POST \
--url https://api.bunny.net/pullzone/{id}/setForceSSL \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>",
"ForceSSL": true
}
'curl --request POST \
--url https://api.bunny.net/pullzone/{id}/setForceSSL \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"Hostname": "<string>",
"ForceSSL": true
}
'API Access Key authorization header
The ID of the requested Pull Zone
Force SSL was successfully updated
Was this page helpful?