---
title: Transformations Allowed Origins
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/go)

[Zones](https://developers.cloudflare.com/api/go/resources/zones)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Transformations Allowed Origins

##### [Get Image Transformations Allowed Origins setting](https://developers.cloudflare.com/api/go/resources/zones/subresources/transformations%5Fallowed%5Forigins/methods/get)

client.Zones.TransformationsAllowedOrigins.Get(ctx, query) (\*[TransformationsAllowedOrigins](https://developers.cloudflare.com/api/go/resources/zones#%28resource%29%20zones.transformations%5Fallowed%5Forigins%20%3E%20%28model%29%20transformations%5Fallowed%5Forigins%20%3E%20%28schema%29), error)

GET/zones/{zone\_id}/settings/transformations\_allowed\_origins

##### [Change Image Transformations Allowed Origins setting](https://developers.cloudflare.com/api/go/resources/zones/subresources/transformations%5Fallowed%5Forigins/methods/edit)

client.Zones.TransformationsAllowedOrigins.Edit(ctx, params) (\*[TransformationsAllowedOrigins](https://developers.cloudflare.com/api/go/resources/zones#%28resource%29%20zones.transformations%5Fallowed%5Forigins%20%3E%20%28model%29%20transformations%5Fallowed%5Forigins%20%3E%20%28schema%29), error)

PATCH/zones/{zone\_id}/settings/transformations\_allowed\_origins

##### ModelsExpand Collapse 

type TransformationsAllowedOrigins struct{…}

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

ID TransformationsAllowedOriginsIDOptional

ID of the zone setting.

Editable TransformationsAllowedOriginsEditableOptional

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

One of the following:

const TransformationsAllowedOriginsEditableTrue TransformationsAllowedOriginsEditable \= true

const TransformationsAllowedOriginsEditableFalse TransformationsAllowedOriginsEditable \= false

ModifiedOn TimeOptional

last time this setting was modified.

formatdate-time

Value TransformationsAllowedOriginsValueOptional

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

One of the following:

const TransformationsAllowedOriginsValueOn TransformationsAllowedOriginsValue \= "on"

const TransformationsAllowedOriginsValueOff TransformationsAllowedOriginsValue \= "off"