You are here

cancelRequestToJoinSite

-(AlfrescoRequest *) cancelRequestToJoinSite:(AlfrescoSite *)site completionBlock:(AlfrescoSiteCompletionBlock)completionBlock - Cancels a previous request to join a site made by the current user. If the request cannot be completed successfully an error with code 407 is returned.

Parameters

(AlfrescoSite *) site
The site to cancel the join request for.
(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