12-09-2019, 05:31 PM
(This post was last modified: 12-10-2019, 02:05 PM by remkonoteboom.)
The API is purposefully restricted from running this command. You can do this in a Python script as long as you know the codes of the transactions you want to undo.
Code:
import tacticenv
from pyasm.security import Batch
Batch(project_code=project_code)
from pyasm.command import UndoCmd
cmd = UndoCmd(ignore_files=ignore_files)
cmd.set_transaction_code(transaction_code)
Command.execute_cmd(cmd)