Most functions of the SAMSON SDK that have an action on the data graph's state are undoable. When it is the case, the function documentation has a special mention: This function is undoable
See the User guide: History for the user's representation of the undo and redo mechanism.