---
title: "Update Video"
method: PUT
path: "/v1/videos/{video_id}"
tags: ["Videos"]
---

# Update Video

`PUT /v1/videos/{video_id}`

Updates a video.

## Path parameters

- `video_id` string, required

## Request body

- VideoUpdate
  - `title` string — The title of the video
  - `description` string — The description of the video
  - `order_id` integer — The order ID of the video
  - `thumbnail_url` string, uri — The URL of the thumbnail for the video

## Response `200`

Successful Response

- VideoRead
  - `title` string, required — The title of the video
  - `description` string, required — The description of the video
  - `order_id` integer — The order ID of the video
  - `thumbnail_url` string, uri — The URL of the thumbnail for the video
  - `platform` 'youtube' | 'twitch', required — An enumeration.
  - `data` union, required — The data of the video
    - YoutubeData
      - `video_id` string, required — The video ID of the YouTube video
    - TwitchData
      - `channel` string, required — The channel of the Twitch video
  - `id` string, required — The unique identifier of the video

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/aghanim/apis/aghanim-server-to-server-api.md) · [All operations](https://skmtc.net/aghanim/apis/aghanim-server-to-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aghanim/aghanim-server-to-server-api/versions/f8569ba0d776/schema)
