CorefinityCorefinityDocs
Open the Control PanelControl Panel
Cloudflare · 6 of 10

Update the zone's SSL mode

Sets the SSL/TLS mode of the site's Cloudflare zone to Full or Full (strict). The mode applies to every hostname in that zone.

PUT/api/corestack/sites/{site}/cloudflare-zone/ssl

Path parameters

siteintegerRequired

The id of a site row. A website's production site and each of its environments has its own id. Digits only. At least 1.

Body

valuestringRequired
fullstrict

Returns

200 The zone with its new mode.

Fields of the 200 answer
zoneobjectRequired

One Cloudflare zone of a company's connection.

Fields
dns01object or nullRequired
idstringRequired

Cloudflare's id for the zone. Send it as zone_id.

namestringRequired
permissionsobjectRequired

What the token may do in the zone.

Fields
cache_purgebooleanRequired
dns_editbooleanRequired
zone_settingsbooleanRequired
planstring or nullRequired
refreshed_atstring or nullRequired

Format: date-time.

sitesarray of objectsRequired

The sites mapped to the zone.

Fields of each item
mappingstringRequired

Whether the Control Panel matched the zone to the site or you chose it.

automanual
siteobjectRequired
Fields
domainstringRequired
idintegerRequired

At least 1.

ssl_modestring or nullRequired
ssl_okboolean or nullRequired
ssl_recommendedstring or nullRequired
statusstring or nullRequired

If it is refused

StatusReasonWhat to do
401noneSend a valid token as Authorization: Bearer <token>.
403company_unavailableYour company is unavailable.
403scope_requiredUse a token with the scope named in scope.
403two_factor_requiredTurn on two-factor on your account, then send again.
404feature_offThis feature is not on for your organisation yet.
409busyAnother operation is running on the site. Wait for it to finish.
409no_zoneThe site's domain is not in a connected Cloudflare zone, or Cloudflare is off for the site. Connect the Cloudflare account that holds the zone.
422invalidFix the field named in field; errors says why.
429rate_limitedWait for the seconds in Retry-After.
502noneRead the message; it says what happened.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl -X PUT https://manage.corefinity.com/api/corestack/sites/1042/cloudflare-zone/ssl \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "value": "strict"
  }'
{
  "zone": {
    "dns01": null,
    "id": "023e105f4ecef8ad9ca31a8372d0c353",
    "name": "harbourandfinch.example.com",
    "permissions": {
      "cache_purge": true,
      "dns_edit": true,
      "zone_settings": true
    },
    "plan": "Free",
    "refreshed_at": "2026-11-06T09:19:48Z",
    "sites": [
      {
        "mapping": "auto",
        "site": {
          "domain": "harbourandfinch.example.com",
          "id": 1042
        }
      }
    ],
    "ssl_mode": "strict",
    "ssl_ok": true,
    "ssl_recommended": "strict",
    "status": "active"
  }
}
Try it

Try it is off for this endpointIt has not been cleared for the console. Copy the request and run it yourself when you are sure.

Was this helpful?
Open in ClaudeOpen in ChatGPT