Method RemoveElementsFromRemoteFolder
RemoveElementsFromRemoteFolder(String, List<String>)
Remove a list of element from remote folders.
Declaration
void RemoveElementsFromRemoteFolder(string connectionId, List<string> remoteFolderElementPaths)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
System.Collections.Generic.List<System.String> | remoteFolderElementPaths | List of paths to elements which shall be removed. |
Examples
POST http://YourServerName/InfoShare/Json/RemoteFolder/RemoveElementsFromRemoteFolder
Example for remove a list of element from a remote folder.{
"connectionId": "e3b3b164-9b0b-4d00-9981-83fe4835df1a",
"remoteFolderElementPaths": ["1eb9edb4-2ce0-e911-a94a-00155d290a08\\db8835d5-30e0-e911-a94a-00155d290a08",
"1eb9edb4-2ce0-e911-a94a-00155d290a08\\db8835d5-30e0-e911-a94a-00155d290a08\\2fb9edb4-2ce0-e911-a94a-00155d290a77"]
}
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) |