---
title: "Updates a playlist."
method: PUT
path: "/1/vod/channel/{channel}/playlist/{playlist}"
tags: ["V2 > Playlist"]
---

# Updates a playlist.

`PUT /1/vod/channel/{channel}/playlist/{playlist}`

## Path parameters

- `channel` integer, required
- `playlist` integer, required

## Request body

- object
  - `channel_id` integer, required — <br/>This field must exist on the `channels` database in the `id` column.
  - `name` string, required — <br/>This field must not exist on the `playlists` database in the `name` column.
  - `description` string
  - `type` string, required
  - `sort` string, required
  - `validated` boolean
  - `published` boolean
  - `image` string
  - `image_mimetype` string — <br/>This field must be present and not empty only if any of the following fields are present:`image`
  - `prepend` boolean
  - `auto_add_media_by_name` string[]
  - `auto_add_media_by_description` string[]
  - `medias_info` boolean
  - `medias_thumbnail` boolean
  - `show_controls` boolean
  - `live_reference_time` string — <br/>This field must be present and not empty if the `mode` field is equal to any of the following:`4`<br/>This field must match the `"H:i:s"` format.

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` Acfc41a0Playlist
    - `name` string, required
    - `description` string
    - `type` string, required
    - `mode` string
    - `sort` string, required
    - `validated` boolean
    - `published` boolean
    - `image` string
    - `prepend` boolean
    - `auto_add_media_by_name` unknown[]
      - unknown
    - `auto_add_media_by_description` unknown[]
      - unknown
    - `medias_thumbnail` boolean
    - `medias_info` boolean
    - `nav_position` string
    - `chapter_style` string
    - `show_controls` boolean
    - `live_reference_time` string

---

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