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: string): void Parameter Type Description sourceRelInstanceId string Returns - void Defined in core/backend/src/IModelTransformer.ts Line 639 Last Updated: 11 June, 2024