items_rm | R Documentation |
FIXME: not working yet - httr doesn't allow body in DELETE
items_rm(sb_id, ..., recursive = FALSE, session = current_session())
sb_id |
An |
... |
Additional parameters are passed on to |
recursive |
logical, FALSE by default. CAUTION: setting recursive=TRUE means that not only will this item be deleted, but so will all its child items and their child items and so on. |
session |
Session object from |
httr response
object
## Not run:
# helper function to make a random name
aname <- function() paste0(sample(letters, size = 5, replace = TRUE), collapse = "")
# Create some items - by default we use your user ID
res <- items_create(title = c(aname(), aname()))
items_rm(res)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.