Method DeleteRemoteFolder
DeleteRemoteFolder(String, String)
Delete a remote folder
Declaration
void DeleteRemoteFolder(string connectionId, string remoteFolderPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.String | remoteFolderPath | Path of remote folder which should be deleted>. See also Path |
Examples
POST http://YourServerName/InfoShare/Json/RemoteFolder/DeleteRemoteFolder
Example for delete a remote folder.{
"connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a",
"remoteFolderPath": "1eb9edb4-2ce0-e911-a94a-00155d290a08\\db8835d5-30e0-e911-a94a-00155d290a08"
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Root folder not found (10023) |
ServiceException | Folder not found {folderPath} (10025) |
ServiceException | No parent folder found {folderPath} (10075) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |