<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def v1_folder_delete(request, response, kvlclient,
                     fid, sfid=None, cid=None, subid=None):
    '''Deletes a folder, subfolder or item.

    The routes for this endpoint are:

    * ``DELETE /dossier/v1/folder/<fid>``
    * ``DELETE /dossier/v1/folder/<fid>/subfolder/<sfid>``
    * ``DELETE /dossier/v1/folder/<fid>/subfolder/<sfid>/<cid>``
    * ``DELETE /dossier/v1/folder/<fid>/subfolder/<sfid>/<cid>/<subid>``
    '''
    new_folders(kvlclient, request).delete(make_path(fid, sfid, cid, subid))
    response.status = 204