Sharing.UnshareFolder Method (string, bool)

Allows a shared folder owner to unshare the folder. You’ll need to call CheckJobStatus(string) to determine if the action has completed successfully. Apps must have full Dropbox access to use this endpoint. Warning: This endpoint is in beta and is subject to minor but possibly backwards-incompatible changes.

Syntax

Sharing.UnshareFolder(string sharedFolderId, bool leaveCopy)

Parameters

sharedFolderId
System.String The ID for the shared folder.
leaveCopy
System.Boolean If true, members of this shared folder will get a copy of this folder after it’s unshared. Otherwise, it will be removed from their Dropbox. The current user, who is an owner, will always retain their copy. Default value is False.

Returns

DotNetBox.LaunchEmptyResult Returns a job ID to be used with Sharing.CheckJobStatus(string) if in progress. If not, just returns DotNetBox.AsyncJobStatus.Completed .