Thursday, 15 March 2012

Remove a file that was previously added from Shared With Me to My Drive -


Google Drive has a good feature: someone can add a file or folder to my drive I've shared.

Enter image details here

Then I will call this file Anyway, I can remove from my disk anyway (note that if I delete the shared file in the web version it will not go to the trash)

However, I'm having a 403 forbidden error while trying to delete this file using the Google Drive API (whose Due insufficient permissions Not because I am not the owner of the file). Therefore, as no one can see, this is not a simple removal request. How can I apply this functionality?

Add to my drive change the parent store for the item in question, to change it, you delete Instead of wanting to unchanged the item.

Use about.get call about retrieving my drive ID, then delete that ID from the parent list in the file resource file folder. Update the file with a new list of parents


No comments:

Post a Comment