deleteModel Method
Deprecated in 5.9.0 - might be removed in next major version. Use EditTxn.deleteModel instead, within an explicit EditTxn scope (or via withEditTxn). See EditTxn documentation for migration help.
Delete one or more existing models.
deleteModel(ids: Id64Arg): void
@throws IModelError if deletion fails.
| Parameter | Type | Description |
|---|---|---|
| ids | Id64Arg | The Ids of the models to be deleted |
Returns - void
Defined in
- backend/src/IModelDb.ts Line 2838
Last Updated: 05 September, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.