mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
887 B
887 B
title
| title |
|---|
| Playlist Destroy |
Playlist Destroy Endpoint
The playlist destroy endpoint deletes a playlist and returns a confirmation message.
For example, the /playlist/N4hG endpoint will delete the playlist of id N4hG and return a confirmation message.
URL
DELETE /playlist/{id}
Authentication
Required Permission: delete playlist
Other Requirements: User must own playlist
Parameters
None
Response
{
playlist: {
id: "id",
name: "name",
description: "description",
visibility: "visibility",
created_at: "created_at",
updated_at: "updated_at",
views_count: views_count,
tracks_exists: tracks_exists,
tracks_count: tracks_count
}
}
Example
curl -X DELETE -H "Authorization: Bearer {token}" https://api.animethemes.moe/playlist/N4hG