---
title: "Update Video"
method: POST
path: "/library/{libraryId}/videos/{videoId}"
tags: ["Manage Videos"]
---

# Update Video

`POST /library/{libraryId}/videos/{videoId}`

## Path parameters

- `libraryId` integer, required
- `videoId` string, required

## Request body

- UpdateVideoModel
  - `title` string, nullable — The title of the video
  - `collectionId` string, nullable — The ID of the collection where the video belongs
  - `chapters` ChapterModel[], nullable — The list of chapters available for the video
    - `title` string, required — The title of the chapter
    - `start` integer — The start time of the chapter in seconds
    - `end` integer — The end time of the chapter in seconds
  - `moments` MomentModel[], nullable — The list of moments available for the video
    - `label` string, required — The text description label for the chapter
    - `timestamp` integer — The timestamp of the moment in seconds
  - `metaTags` MetaTagModel[], nullable — The meta tags added to the video
    - `property` string, nullable
    - `value` string, nullable

## Response `200`

The thumbnail was successfully set

- StatusModel
  - `success` boolean — Determines if the request was successful
  - `message` string, nullable — Response message description
  - `statusCode` integer — The response status code

## Other responses

- `401` — The request authentication failed
- `403` — The request authorization failed
- `404` — The requested video was not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/bunny/apis/bunny-net-cdn-logging.md) · [All operations](https://skmtc.net/bunny/apis/bunny-net-cdn-logging/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bunny/bunny-net-cdn-logging/revisions/9e622620664b/schema)
