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

def delete(self):
        'Delete this folder and return a deleted JFSFolder'
        #url = '%s?dlDir=true' % self.path
        params = {'dlDir':'true'}
        r = self.jfs.post(self.path, params)
        self.sync()
        return r