## Change Image Transformations C2PA setting `zones.transformations_c2pa.edit(TransformationsC2paEditParams**kwargs) -> TransformationsC2pa` **patch** `/zones/{zone_id}/settings/transformations_c2pa` C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata to images processed through Cloudflare Image Transformations, enabling verification of image authenticity and provenance. ### Parameters - `zone_id: str` Identifier. - `value: Literal["off", "on"]` Whether C2PA signing is enabled for image transformations. - `"off"` - `"on"` ### Returns - `class TransformationsC2pa: …` Controls C2PA signing for images processed through Cloudflare Image Transformations. - `id: Optional[Literal["image_resizing_c2pa"]]` ID of the zone setting. - `"image_resizing_c2pa"` - `editable: Optional[Literal[true, false]]` Whether or not this setting can be modified for this zone (based on your Cloudflare plan level). - `true` - `false` - `modified_on: Optional[datetime]` last time this setting was modified. - `value: Optional[Literal["on", "off"]]` Current value of the zone setting. - `"on"` - `"off"` ### Example ```python import os from cloudflare import Cloudflare client = Cloudflare( api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted ) transformations_c2pa = client.zones.transformations_c2pa.edit( zone_id="023e105f4ecef8ad9ca31a8372d0c353", value="off", ) print(transformations_c2pa.id) ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": { "id": "image_resizing_c2pa", "editable": true, "modified_on": "2014-01-01T05:20:00.12345Z", "value": "on" } } ```