deleteBriefcaseFiles MethodStatic

Delete and clean up a briefcase and all of its associated files. First, this method opens the supplied filename to determine its briefcaseId. Then, if a requestContext is supplied, it releases a BriefcaseId from iModelHub. Finally it deletes the local briefcase file and associated files (that is, all files in the same directory that start with the briefcase name).

deleteBriefcaseFiles(filePath: string, requestContext?: AuthorizedClientRequestContext): Promise<void>

Parameter Type Description
filePath string the full file name of the Briefcase to delete
requestContext AuthorizedClientRequestContext context for releasing the briefcaseId

Returns - Promise<void>

Defined in

Last Updated: 11 June, 2024