R/delete_comment.r

Defines functions delete_comment

Documented in delete_comment

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