Next Topic

Previous Topic

Book Contents

container.delete

Deletes a container.

container.delete <"serviceName=<regexp>" | "serialNumber=<value>">
[, "moveChildren=<parent|top|delete>"]
[, "departmentName=<value>"]

If you are deleting a device container that has other containers nested below it, the parent is used as the default value. The nested containers are moved to the immediate parent of the container you are deleting.

If moveChildren=top, the nested containers are moved to the top level while preserving their hierarchy. If moveChildren=delete, all nested containers are deleted recursively, unless a nested container is specified under a different hierarchy.

Example:

container.delete "serviceName=HQ", "moveChildren=delete"

Administrator users can delete containers in their own admin-group. Administrators can use the userName=<value> parameter to delete a container in end user departments. However, this action is determined by the admin-class permission configuration.