tidyverse / googlesheets4

Google Spreadsheets R API (reboot of the googlesheets package)
https://googlesheets4.tidyverse.org
Other
360 stars 53 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. :-(