'.. http:delete:: /channels/discovered/(string: channelid)/playlists/(int: playlistid)/(string: infohash)
Remove a torrent with a specified infohash from a specified playlist.
**Example request**:
.. sourcecode:: none
curl -X DELETE http://localhost:8085/channels/discovered/abcd/playlists/3/abcdef
**Example response**:
.. sourcecode:: javascript
"removed": True
:statuscode 404: if the specified channel/playlist/torrent does not exist.'

def render_DELETE(self, request):

    channel_info = self.get_channel_from_db(self.cid)
    if (channel_info is None):
        return ChannelsPlaylistsEndpoint.return_404(request)
    playlist = self.channel_db_handler.getPlaylist(self.playlist_id, ['Playlists.dispersy_id'])
    if (playlist is None):
        return BaseChannelsEndpoint.return_404(request, message='this    playlist    cannot    be    found')
    channel_community = self.get_community_for_channel_id(channel_info[0])
    if (channel_community is None):
        return BaseChannelsEndpoint.return_404(request, message='the    community    for    the    specific    channel    cannot    be    found')
    torrent_dispersy_id = (-1)
    for torrent in self.channel_db_handler.getTorrentsFromPlaylist(self.playlist_id, ['infohash', 'PlaylistTorrents.dispersy_id']):
        if (torrent[0] == self.infohash):
            torrent_dispersy_id = torrent[1]
            break
    if (torrent_dispersy_id == (-1)):
        request.setResponseCode(http.NOT_FOUND)
        return json.dumps({'error': 'this    torrent    is    not    in    your    playlist'})
    channel_community.remove_playlist_torrents(int(self.playlist_id), [torrent_dispersy_id])
    return json.dumps({'removed': True})
