# client.removePlaylist()

## Параметры

`playlistId` — идентификатор плейлиста или альбома. (`int`)

***

`ownerId` — идентификатор владельца плейлиста или альбома. (`int`, *optional*)

***

`groupId` — идентификатор группы, из которой необходимо удалить плейлист или альбом. (`int`, *optional*)

***

`validateIds` — флаг, указывающий, необходимо ли перепроверить плейлист или альбом на наличие в музыке. По умолчанию `True`. Установите на `False`, если вы получили плейлист или альбом через `client.getPlaylists()` или `client.getAllPlaylists()`. (`bool`, *optional*)

## Возвращаемые значения

### При успехе

`True`

### Если плейлист или альбом не найден или не получилось его удалить

`False`

## Пример использования

```python
result = client.removePlaylist(
    playlistId=19201020,
    ownerId=-2000201020,
)

print(result)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://to4no4sv.gitbook.io/vkmusix/methods/playlists/remove-playlist.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
