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, files in the same directory named <briefcase file name>-* or <briefcase file name>.*, e.g. "a.bim-wal", "a.bim-locks", "a.bim.Tiles").

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

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

Returns - Promise

Defined in

Last Updated: 05 November, 2026