Update an image collection

POST https://{{host}}/imaging/v2/imagecollections/:imageCollectionId

Update an image collection.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Request Body

{"definition"=>{"items"=>[{"mime"=>"image/jpeg", "tags"=>["red"], "type"=>"image", "url"=>"https://example.com/bikes/sport-bike.jpg"}, {"mime"=>"image/jpeg", "tags"=>["blue"], "type"=>"image", "url"=>"https://example.com/bikes/road-bike.jpg"}, {"mime"=>"image/jpeg", "tags"=>["red"], "type"=>"image", "url"=>"https://example.com/bikes/transport-bike.jpg"}]}, "description"=>"A collection for bikes", "id"=>"SKU-26684355"}

HEADERS

KeyDatatypeRequiredDescription
ContractstringUnique identifier for the Akamai Contract containing the policy sets. Required if you have access to more than one contract with Image & Video Manager.
Policy-Setstring(Required) Unique identifier for the Image & Video Manager policy set.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"description":"Image Collection SKU-26684355 was updated","id":"SKU-26684355","operationPerformed":"UPDATED"}