batch = service.new_batch_http_request(callback=delete_file)
for file in children['items']:
    batch.add(service.files().delete(fileId=file['id']))
batch.execute(http=http)
How to delete multiple files at once using Google Drive API