Update Album (Un-Authed / Authed)

PUT https://api.imgur.com/3/album/{{albumHash}}

Update the information of an album. For anonymous albums, albumHash should be the deletehash that is returned at creation.

If uploading anonymous images to an anonymous album please use the optional parameter of deletehashes[] rather than ids[]. Note: including the optional deletehashes[] parameter will also work for authenticated user albums. There is no need to duplicate image ids with their corresponding deletehash.

Response Model: Basic

Parameters

KeyRequiredDescription
ids[]optionalThe image ids that you want to be included in the album.
deletehashes[]optionalThe deletehashes of the images that you want to be included in the album.
titleoptionalThe title of the album
descriptionoptionalThe description of the album
privacyoptionalSets the privacy level of the album. Values are : public | hidden | secret. Defaults to user's privacy settings for logged in users.
layoutoptional(deprecated) Sets the layout to display the album. Values are : blog | grid | horizontal | vertical
coveroptionalThe ID of an image that you want to be the cover of the album

Request Body

[{"name"=>"ids[]", "value"=>"{{imageHash}}", "datatype"=>"string"}, {"name"=>"ids[]", "value"=>"{{image2Hash}}", "datatype"=>"string"}, {"name"=>"deletehashes", "value"=>"{{deleteHash}}", "datatype"=>"string"}, {"name"=>"title", "value"=>"My dank meme album", "datatype"=>"string"}, {"name"=>"description", "value"=>"This album contains a lot of dank memes. Be prepared.", "datatype"=>"string"}, {"name"=>"privacy", "value"=>"public", "datatype"=>"string"}, {"name"=>"cover", "value"=>"{{imageHash}}", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringUse this header if performing this action anonymously.
AuthorizationstringUse this header if performing this action as a logged-in user.