Learn R Programming

imguR (version 1.0.3)

delete_album: Delete album

Description

Delete an album

Usage

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).

Value

“imgur_basic”.

Details

Deletes an album.

See Also

create_album

favorite_album

update_album

Examples

Run this code
## Not run: 
# # using an OAuth token
# tkn <- imgur_login()
# a <- account_albums(token = tkn)
# delete_album(a[[1]], token = tkn)
# ## End(Not run)

Run the code above in your browser using DataLab