delete_album: Delete album

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/delete_album.r

Description

Delete an album

Usage

1
delete_album(album, ...)

Arguments

album

An album ID or object of class “imgur_image”. If no token is supplied, id must be a deletehash from the original upload_image response.

...

Other arguments passed to HTTP request functions, for example: token (an OAuth2.0 token) or key (an API key, used by default).

Details

Deletes an album.

Value

An object of class “imgur_basic”.

Author(s)

Thomas J. Leeper

See Also

create_album

favorite_album

update_album

Examples

1
2
3
4
5
6
7
## Not run: 
# using an OAuth token
tkn <- imgur_login()
a <- account_albums(token = tkn)
delete_album(a[[1]], token = tkn)

## End(Not run)

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