API Reference > imodeljs-backend > iModels > TxnManager > reverseTo reverseTo Method Reverse all changes back to a previously saved TxnId. reverseTo(txnId: string): IModelStatus see TxnManager.getCurrentTxnId TxnManager.cancelTo Parameter Type Description txnId string a TxnId obtained from a previous call to GetCurrentTxnId. Returns - IModelStatus Success if the transactions were reversed, error status otherwise. Defined in core/backend/src/TxnManager.ts Line 425 Last Updated: 11 June, 2024