DeleteFile
Deletes files or folders. To delete a single file or folder, specify Name or Id. To delete several files or folders, specify NameList or IdList. To delete files or folders that match the specified conditions, specify Search.
Elements
WorkingFolderId
String. The ID of the working folder of the file or folder to delete. Specify either WorkingFolderId or WorkingFolderName.
WorkingFolderName
String. The name of the working folder of the file or folder to delete. Specify either WorkingFolderName or WorkingFolderId.
Recursive
Boolean. Specifies whether to delete subfolders. If True, subfolders are deleted. If False, only the specified folder is deleted. The default value is False.
LatestVersionOnly
Boolean. Specifies whether to delete only the latest version of the file. If True, only the latest version of the file is deleted. The default value is False.
Search
FileSearch. The search condition that specifies which folders or files to delete.
IdList
ArrayOfString. The list of file or folder IDs to delete. Specify either IdList or NameList.
NameList
ArrayOfString. The list of file or folder names to delete. Specify either NameList or IdList.
Id
String. The ID of the single file or folder to delete. Specify either Id or Name.
Name
String. The name of the single file or folder to delete. Specify either Name or Id.
IgnoreMissing
Boolean. Specifies what to do if the specified file or folder does not exist. If True, BIRT iHub ignores the request. If False, the operation reports an error and stops. The default value is True.