Skip to content
Start here

Transformations Allowed Origins

Get Image Transformations Allowed Origins setting
GET/zones/{zone_id}/settings/transformations_allowed_origins
Change Image Transformations Allowed Origins setting
PATCH/zones/{zone_id}/settings/transformations_allowed_origins
ModelsExpand Collapse
TransformationsAllowedOrigins object { id, editable, modified_on, value }

Controls which origins are allowed to request image and video transformations.

id: optional "image_resizing_allowed_origins"

ID of the zone setting.

editable: optional true or false

Whether or not this setting can be modified for this zone (based on your Cloudflare plan level).

One of the following:
true
false
modified_on: optional string

last time this setting was modified.

formatdate-time
value: optional "on" or "off"

Comma-separated list of allowed origin domains for image and video transformations. Use ”*” to allow all origins (default).

One of the following:
"on"
"off"