I am trying to delete all the files in my google drive.
request = drive_service.files().list().execute()
for a in request["files"]:
drive_service.files().delete(fileId=a["id"]).execute()
What I am getting:
returns a insufficient permission error.
What I want:
Delete all the files and remove everything from shared with me and make it look like a fresh new drive.
EDIT:
EDIT 2:
Is it possible to remove those files?
EDIT 3
Since the file are shared with me and I think cannot use delete() function with them because I am not the owner.
So how can I remove those files from my drive, any workarounds for error insufficient permission.

