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

# Update video media

`PATCH /medias/video/{id}`

## Request

- Base URL: `https://api.fanheroapi.com`
- URL: `https://api.fanheroapi.com/medias/video/{id}`
- Auth: API key in header `apiKey`

## Path parameters

- `id` string, required

## Headers

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

## Request body

- UpdateMediaVideoInput
  - `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
  - `duration` number, nullable, required: Video duration
  - `width` number, nullable, required: Width of the video
  - `height` number, nullable, required: Height of the video
  - `mp4Path` string, nullable, required: Path to the MP4 file
  - `aspectRatio` string, nullable, required: Aspect ratio of the video
  - `orientation` 'landscape' | 'portrait', nullable, required: Content orientation. Enum
  - `dashPath` string, nullable, required
  - `hlsPath` string, nullable, required
  - `thumbnailPath` array[], nullable, required: Thumbnail image path
    - unknown[]
      - unknown
  - `subtitles` array[], nullable, required
    - unknown[]
      - unknown

## Response `200`

---

[API](https://skmtc.dev/fanhero/apis/headless-cms-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/revisions/fb8d50c05ee6?raw)
