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 = ap_id, role = "reader", type = "user", emailAddress = "[email protected]")
but it didn´t work :-(