R/remove_gallery_image.r

Defines functions remove_gallery_image

Documented in remove_gallery_image

remove_gallery_image <- 
function(id,
         ...){
    if(!"token" %in% names(list(...)))
        stop("This operation can only be performed using an OAuth token.")
    out <- imgurDELETE(paste0('gallery/', 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.