---
title: "Set default YouTube playlist"
method: PUT
path: "/v1/accounts/{accountId}/youtube-playlists"
tags: ["Connect"]
---

# Set default YouTube playlist

`PUT /v1/accounts/{accountId}/youtube-playlists`

Sets the default playlist used when publishing videos for this account. When a post does not specify a playlistId, the default playlist is not automatically used (it is stored for client-side convenience).

## Path parameters

- `accountId` string, required

## Request body

- object
  - `defaultPlaylistId` string, required
  - `defaultPlaylistName` string

## Response `200`

Default playlist set

- object
  - `success` boolean

## Other responses

- `400` — Invalid request
- `401` — Unauthorized
- `404` — Account not found

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/15e893e69e8c/schema)
