You are here

removeFavoriteSite

-(AlfrescoRequest *) removeFavoriteSite:(AlfrescoSite *)site completionBlock:(AlfrescoSiteCompletionBlock)completionBlock - removes the given site from the current user's list of favorite sites, if the request cannot be completed successfully an error with code 404 is returned.

Parameters

(AlfrescoSite *) site
The site to be removed from the current user's list of favorites.
(AlfrescoSiteCompletionBlock) completionBlock
The block that is called with the updated site on completion of the operation. The block has the format typedef void (^AlfrescoSiteCompletionBlock)(AlfrescoSite *site, NSError *error).

Returns

(AlfrescoRequest *)

Example