id. This is basically the same as the Undo() command with the exception that this function accepts layer id's directly. With Undo() you would have to specify a type, an id and maybe also an undo-level, now you can just specify the layer id.
You need to enable layers before you can use this function. See Layers introduction for details.