deletePlaylistFolder
Deletes an empty playlist folder.
Categories:
Opensubsonic:
OpenSubsonic version: 1
OpenSubsonic extension name playlistFolders (As returned by getOpenSubsonicExtensions)
http://your-server/rest/deletePlaylistFolder
Deletes an empty folder from the authenticated user’s playlist organization.
Parameters
| Parameter | Req. | OpenS. | Default | Comment |
|---|---|---|---|---|
playlistFolderId | Yes | Yes | ID of the playlist folder to delete. |
The folder must contain no child folders and no playlists currently visible to the user. A server must return error 0 when the folder is not empty and must not implicitly delete or move its contents. A playlistFolderId that does not exist or belongs to another user’s tree returns error 70. See the extension description for the placement lifecycle and error handling.
Example
http://your-server/rest/deletePlaylistFolder.view?playlistFolderId=folder-2026&u=demo&p=demo&v=1.16.1&c=AwesomeClientName&f=jsonResult
An empty subsonic-response element on success.
{
"subsonic-response": {
"status": "ok",
"version": "1.16.1",
"type": "AwesomeServerName",
"serverVersion": "0.1.3 (tag)",
"openSubsonic": true
}
}Does not exist.