Updates the 'favourite' status of a collection for a specific user. It also invalidates the cached collections data for the user after a successful update.
put
Authorizations
Query parameters
collectionIdinteger · int32Required
The ID of the collection to be updated.
isFavouritebooleanRequired
A boolean value indicating whether the collection is marked as a favourite.
usermailstringRequired
The email ID of the user whose collection is being updated.
Responses
200
Success: The collection was successfully updated and the cache was invalidated.
400
Bad Request: The provided data is invalid or missing.
500
Internal Server Error: An error occurred while updating the collection or invalidating the cache.
put
PUT /Collections/UpdateFavouriteCollection?collectionId=1&isFavourite=true&usermail=text HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*