deletePlaylistFolder

Deletes an empty playlist folder.

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

ParameterReq.OpenS.DefaultComment
playlistFolderIdYesYesID 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

Result

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.