Features Pricing Regions Support Start free Log in FR

Update a boost

Update a boost's configuration. All fields are optional — only include what you want to change. Returns 409 if the boost is currently running.

PUT /v1/boosts/{id}

Requires scope: boosts:write

Path parameters

ParameterTypeRequiredDescription
id integer Required Boost ID.

Body parameters

All body parameters are optional. Only include the fields you want to update.

ParameterTypeDescription
namestringDisplay name for the boost.
regionarrayTarget regions.
url_rootstringOnly warm URLs starting with this path.
exclude_extarrayFile extensions to skip.
variationsobjectWarming variations (user agents and languages).
sitemap_idsarrayIDs of sitemaps to warm.
content_typesarrayContent types to target.
schedulestring|nullCron expression (UTC). Set to null to remove the schedule.
call_limitinteger|nullMaximum number of calls. Set to null to remove the limit.
ignore_errorsbooleanIf true, the boost will not auto-pause on high error rates.
report_email_enabledbooleanSend an email report when a run completes.

Example request

curl -X PUT https://api.cache-boost.com/v1/boosts/15 \
  -H "Authorization: Bearer cb_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"schedule": "0 3 * * *", "region": ["fr", "eu"]}'

Response

Returns 200 OK with the updated boost object.

Errors

CodeDescription
401Missing or invalid API key.
403Insufficient scope or access denied.
404Boost not found.
409Boost is currently running — cannot be updated.
422Validation error — invalid field values.