gs_perm_delete

0th

Percentile

Delete a permission from a spreadsheet

Identify the permission to be deleted via email or permission ID.

Keywords
internal
Usage
gs_perm_delete(ss, email = NULL, perm_id = NULL, verbose = TRUE)
Arguments
ss

a registered Google spreadsheet, i.e. a googlesheet object

email

The email address or domain name for the entity.

perm_id

The ID for the permission.

verbose

logical; do you want informative messages?

Aliases
  • gs_perm_delete
Examples
# NOT RUN {
foo <- gs_new("foo")
gs_perm_ls(foo)
# Add anyone as a reader:
gs_perm_add(foo, type = "anyone", role = "reader")
gs_perm_ls(foo)
# Remove the permission for anyone
gs_perm_delete(foo, perm_id = "anyoneWithLink")
gs_delete(foo)
# }
# NOT RUN {
# }
Documentation reproduced from package googlesheets, version 0.3.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.