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
- backend/src/BriefcaseManager.ts Line 350
Last Updated: 05 November, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.