function deletePlaylist deletePlaylist(playlistId: string,requestingUserId: string,canModerate: boolean): void Deletes a playlist for DELETE /api/playlists/:playlistId, and broadcasts playlist_deleted. canModerate lets someone other than the owner do it. Parameters playlistId: string requestingUserId: string canModerate: boolean Return Type void Throws APIException 404 when there is no such playlist, 403 when the user is neither its owner nor a moderator.