---
title: "Update metadata."
method: PUT
path: "/2/vod/metadata/{metadata}"
tags: ["V3 > Metadata"]
---

# Update metadata.

`PUT /2/vod/metadata/{metadata}`

Updates details of a specified metadata based on the given parameters.

## Path parameters

- `metadata` integer, required

## Request body

- object
  - `name` string — a string free of XSS payloads
  - `options` object, nullable — Allowed array or object keys
    - `color` string — Hexadecimal color code (with or without the leading #)

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` 1527df96Label
    - `id` integer, required — The unique identifier of the Label
    - `name` string, required — The name of the Label
    - `options` 1527df96LabelConfiguration, required
      - `color` string, required
      - `media` unknown[] — The media unique identifier
        - unknown
    - `type` string — The type of Label

---

[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)
