Deleting Nodes Using XML To delete nodes or groups, use the deletenodes command. sgms> deletenodes xml_file Syntax Table 99. Syntax xml_file XML file that contains nodes to delete. Usage Guidelines The XML file should contain the following: <? Xml version ="1.0" > <Sgmscommand> : <DeleteNodes> : <DeleteNode displayname="displayname" viewname="viewname" deleteSAs="0" /> : </DeleteNodes> </Sgmscommand> Table 100. Usage guidelines displayname Required. Specifies the name of the node. If you specify group parameters, all nodes that belong to the groups will be deleted. viewname Required. Specifies the name of a view in which the node appears. deleteSAs Specifies whether the node’s SAs are deleted. To delete the SAs, enter 1. To save the SAs, enter 0. Example In the following example, “Palo Alto 4” and all nodes within the specified groups are deleted: sgms> activationcode node-delete.xml The following is the content of node-delete.xml. <? Xml version ="1.0" > <Sgmscommand> : <DeleteNodes> : <DeleteNode displayname="Country=USA:State=California:Department=Engineering:Company=: Silicon Valley" viewname="View All" deleteSAs="1" /> : <DeleteNode displayname="Palo Alto 4" viewname="View All" deleteSAs="0" /> : </DeleteNodes> </Sgmscommand>