“cmd.delete” removes an object or a selection.
cmd.delete (string name = object-or-selection-name )
def delete(name):
delete | cmd.remove | api