Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
We don't currently offer a way to update or delete a permission. This requires the general ability to list all the permissions for a file and get it into a favourable object, presumably a tibble with one row per permission. Given that info, especially the id of the permission, you're in a position to form additional calls that delete or update it. Finally, all of this is notably different for Team Drives.
I think this is for a later release. First we have to decide on an official way to create a tibble with one row per permission. So a user can inspect access individual permissions and decide what to do about them. Which variables do you include? Would you do it for exactly one file at a time? This is probably also where Team Drive differ the most. Etc etc. I propose we just let this be for the moment.