def METHOD_NAME(taskid, user):
    params = None
    if taskid or user:
        params = {'Action':'CleanCloneTask', 'Version':'0.0.6', 'User':user, 'UUID':taskid}
    if params is None:
        return -1
    jsonobj = query(params)
    if jsonobj['Code'] != '0':
        print('clean taskid=%s, user=%s failed, ecode=%s, etext=%s' % (taskid, user, jsonobj['Code'], errcodelist[jsonobj['Code']]))
        return -1
    print('clean taskid=%s, user=%s success' % (taskid, user))
    return 0