This function takes a title, url, or Id of a page, then deletes it from a Google Sites
delete_content(id, verbose = TRUE)
id | A string representing the URL that identifies the entry id of content
to delete. This should be an absolute URL looking like:
https://sites.google.com/feeds/content/mydomain/mysite/6477233125232797597. You can find this URL
by using the |
---|---|
verbose | A logical indicating whether to print messages |
# NOT RUN { # delete a webpage with title My Report delete_content(id = find_content(value_to_match='My Report', field_to_match='title')$id) # delete an attachment delete_content(id = find_content(value_to_match='rmarkdown-cheatsheet-2.0', field_to_match='title', content_category='attachment')$id) # }