R/delete_image.r

Defines functions delete_image

Documented in delete_image

delete_image <- 
function(id, ...){
    if(inherits(id, 'imgur_image'))
        id <- id$id
    out <- imgurDELETE(paste0('image/', id), ...)
    structure(out, class = 'imgur_basic')
}

Try the imguR package in your browser

Any scripts or data that you put into this service are public.

imguR documentation built on May 2, 2019, 4:02 p.m.