---
title: "Update photo media"
method: PATCH
path: "/medias/photo/{id}"
tags: ["Media"]
---

# Update photo media

`PATCH /medias/photo/{id}`

## Path parameters

- `id` string, required

## Headers

- `channel` string, required
- `organization` string, required

## Request body

- UpdateMediaImageInput
  - `filename` string, nullable, required — File name
  - `upload` string, nullable, required — Upload ID
  - `status` string, nullable, required — The current status of the media content. Enum
  - `baseUrl` string, nullable, required — Base URL
  - `width` number, nullable, required — Image width
  - `height` number, nullable, required — Image height
  - `aspectRatio` string, nullable, required — Image aspect ratio
  - `orientation` string, nullable, required — Image orientation
  - `imgPath` string, nullable, required — Path to the image file

## Response `200`

Image media updated.

---

[API](https://skmtc.net/fanhero/apis/tenant-endpoints.md) · [All operations](https://skmtc.net/fanhero/apis/tenant-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fanhero/tenant-endpoints/versions/8e7584c449dc/schema)
