tidyverse / googlesheets4

Google Spreadsheets R API (reboot of the googlesheets package)
https://googlesheets4.tidyverse.org
Other
357 stars 51 forks source link

Revoke Anyone With Link Permission #298

Open marcofaga opened 1 year ago

marcofaga commented 1 year ago

Hi. How can I revoke the "anyone with link" permission for a file? I would like to restrict access to the file only to the owner.

I´ve tried

` drive_share(file = id, role = "reader", type = "user", emailAddress = "dsadjaij@uol.com")

` but it didn´t work. :-(