# updateyoutubeplaylist: Update YouTube Playlist

> updateyoutubeplaylist (Update YouTube Playlist) is a 1001fx API function in the group YouTube: POST https://api.1001fx.com/youtube/updateyoutubeplaylist, 3 credits per call. It works in Make, n8n, scripts and AI agents as a plain HTTP call.

**Deprecated:** this function will be removed in a future release.

Modifies a playlist. For example, you could change a playlists title, description, or privacy status.

- This service is provided by an external service provider: YouTube. The data of the call is sent to the provider. [More about service providers](https://1001fx.com/functions#serviceproviders)

- Group: YouTube
- Endpoint: `POST https://api.1001fx.com/youtube/updateyoutubeplaylist`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: application/json
- Credits: 3 credits per call
- Ready-made in: none, use an HTTP request
- Service provider: YouTube
- Docs: https://1001fx.com/functions/updateyoutubeplaylist

## Parameters

- `credentialKey` (string, required) – 1001fx Credential Key: Your 1001fx credential key. See https://1001fx.com/app/credentials/list
- `id` (string, required) – Playlist ID: Your playlists ID.
- `title` (string, required) – Video Title: Title for your video.
- `description` (string, optional) – Video Description: Description for your video
- `privacyStatus` (enum, optional, one of `private`, `public`, `unlisted`, default `private`) – Privacy Status: Privacy status of your video.
- `defaultLanguage` (string, optional) – Default Language: The language of the text in the playlist resources snippet.title and snippet.description properties.
- `localizations` (array<object>, optional) – Localizations: The localizations object encapsulates translations of the playlists metadata.
  - `key` (string, required) – Localization Key: The language of the localized text associated with the key value. The value is a string that contains a BCP-47 language code. See https://1001fx.com/functions/listyoutubei18nlanguages.
  - `title` (string, required) – Title: The localized playlist title.
  - `description` (string, optional) – Description: The localized playlist description.

## Example: Update YouTube Playlist

```bash
curl -X POST 'https://api.1001fx.com/youtube/updateyoutubeplaylist' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"credentialKey":"yourCredentialKey","id":"PLSN41gj3iqOAwTyHkFgXqa1gmWOScj1_e","title":"Test Playlist Updated","description":"Test Playlist Description Updated","privacyStatus":"private","defaultLanguage":"de"}'
```
