Update a Collection's attributes or assigned Assets. The list of existing assets is replaced with assets provided in the call. Assets in the collection are referenced by Asset FileID therefore the collectionDocument must contain asset's FileID.
The User editing the Collection must have the Collection Security Role Privilege. The User must have View access to the Assets that are being added to or removed from the Collection.
The Request Body must be a JSON object.
Successful operation
Unauthorized. Missing Authorization or AccessToken or Access Token expired
returns JSON object with error description.
{- "collectionType": "secured",
- "name": "Photo Collection",
- "collectionDocument": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
{- "message": "Collection update was successful"
}