---
title: "Update a playlist"
method: PATCH
path: "/playlists/{id}"
tags: ["Playlists"]
---

# Update a playlist

`PATCH /playlists/{id}`

## Request

- Base URL: `https://api.fanheroapi.com`
- URL: `https://api.fanheroapi.com/playlists/{id}`
- Auth: API key in header `apiKey`

## Headers

- `channel` string, required
- `organization` string, required

## Request body

- UpdatePlaylistInput
  - `title` string: Playlist title
  - `posts` string[]: Array of post IDs

## Response `200`

Playlists udpated.

---

[API](https://skmtc.dev/fanhero/apis/headless-cms-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/revisions/fb8d50c05ee6?raw)
