Delete a file from Filebin

file_delete(filename, bin)

Arguments

filename

File name or URL.

bin

Bin name. If NA the generate random bin name.

Value

A Boolean indicating whether file was successfully deleted.

Examples

if (FALSE) {
posted <- file_post(LOREM_IPSUM, bin = "latin-text")

file_delete("lorem-ipsum.txt", "latin-text")
file_delete("https://filebin.net/latin-text/lorem-ipsum.txt")
}