API Reference > imodeljs-backend > iModels > IModelTransformer > onDeleteRelationship onDeleteRelationship MethodProtected Override of IModelExportHandler.onDeleteRelationship that is called when IModelExporter detects that a Relationship has been deleted from the source iModel. This override propagates the delete to the target iModel via IModelImporter.deleteRelationship. onDeleteRelationship(sourceRelInstanceId: Id64String): void Parameter Type Description sourceRelInstanceId Id64String Returns - void Defined in core/backend/src/IModelTransformer.ts Line 458 Last Updated: 13 June, 2024