cdn

Put Cdn Config

Apply edge/security settings to the project's dedicated Bunny zone (Admin+). Only provided fields change. Persists a summary for audit.

put/v1/projects/{project_id}/cdn/config

Request

  • Base URL: https://api.sonenta.dev
  • URL: https://api.sonenta.dev/v1/projects/{project_id}/cdn/config
  • Auth: none declared

Path parameters

project_idstring required

Request body

signed_urls_enabledboolean nullable
allowed_referrersstring[] nullable
block_none_referrerboolean nullable
blocked_countriesstring[] nullable
request_limitinteger nullable
burst_sizeinteger nullable
connection_limit_per_ipinteger nullable
custom_domainstring nullable

Response

Successful Response

dedicated_zoneboolean required
zone_idstring nullable
cdn_hostnamestring nullable
hostnamesstring[]
signed_urls_enabledboolean
zone_security_keystring nullable
allowed_referrersstring[]
block_none_referrerboolean
blocked_countriesstring[]
request_limitinteger
burst_sizeinteger
connection_limit_per_ipinteger

Changes