You are here

leaveSite

-(AlfrescoRequest *) leaveSite:(AlfrescoSite *)site completionBlock:(AlfrescoSiteCompletionBlock)completionBlock - Removes the current user from the given site. If the request cannot be completed successfully an error with code 408 is returned.

Parameters

(AlfrescoSite *) site
The site to leave.
(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