Nothing
#' Delete a bin from Filebin
#'
#' @inheritParams file_post
#'
#' @return A Boolean indicating whether bin was successfully deleted.
#' @export
#'
#' @examples
#' \dontrun{
#' bin_delete("placeholder")
#' bin_delete("https://filebin.net/placeholder/")
#' }
bin_delete <- function(bin) {
if (is.url(bin)) {
log_debug("Treating bin as an URL.")
url <- bin
} else {
url <- file.path(base_url(), bin)
}
response <- DELETE(url)
if (status_code(response) == 200) {
TRUE
} else {
log_debug(content(response))
FALSE
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.