---
title: "Updates an annotation."
method: PATCH
path: "/1/vod/channel/{channel}/media/{media}/annotation/{annotation}"
tags: ["V2 > Others"]
---

# Updates an annotation.

`PATCH /1/vod/channel/{channel}/media/{media}/annotation/{annotation}`

## Path parameters

- `channel` integer, required
- `media` integer, required
- `annotation` integer, required

## Request body

- object
  - `media_id` integer, required — <br/>This field must exist on the `medias` database in the `id` column.
  - `from_timestamp` number, required
  - `to_timestamp` number, required
  - `body` string, required
  - `published` boolean

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` Acfc41a0Annotation
    - `from_timestamp` number, required
    - `to_timestamp` number, required
    - `body` string, required
    - `published` boolean

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
