item_rm | R Documentation |
Remove an item from ScienceBase. This is not reversible and will delete an item and its attached files. (advanced) Recursive is to be used with care and could result in unexpected file deletion.
item_rm(sb_id, ..., limit = 1000, recursive = FALSE)
sb_id |
An |
... |
Additional parameters are passed on to |
limit |
The maximum number of child items to remove when called with recursive=TRUE. |
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. |
httr response
object
## Not run:
res <- item_create(user_id(), "item-to-delete")
item_rm(res)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.