cURL
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 } '
{ "ErrorKey": "<string>", "Field": "<string>", "Message": "<string>" }
API Access Key authorization header
The ID of the requested Pull Zone
Request model
The hostname that will be updated
1
Set to true to force SSL on the given pull zone hostname
Force SSL was successfully updated
Was this page helpful?