DeleteShare() 공개 메소드

Delete a share.

It mirrors To the following Smartsheet REST API method:
DELETE /workspaces/{workspaceId}/shares/{shareId}
DELETE /sheets/{sheetId}/shares/{shareId}
DELETE /sight/{sightId}/shares/{shareId}
DELETE /reports/{reportId}/shares/{shareId}

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public DeleteShare ( long objectId, string shareId ) : void
objectId long the ID of the object To share
shareId string the ID of the user To whome the object is shared
리턴 void
예제 #1
0
        public virtual void TestDeleteShare()
        {
            server.setResponseBody("../../../TestSDK/resources/deleteShare.json");

            shareResourcesImpl.DeleteShare(1234L, 142124L);
        }