mass_unenroll_nodes

Command Description
mass_unenroll_nodes A tool to unenroll nodes.
Syntax
mass_unenroll_nodes [-h] [--lh-address LH_ADDRESS] [--dry-run] [--verbose] [--insecure] --lh-username LH_USERNAME --lh-password LH_PASSWORD (--all | --never-seen | --approved | --connected | --disconnected | --pending | --pending-connected | --pending-disconnected)
Required Option Alternate Syntax Description
  -h --help Display usage information and exit.
  -a <LH_ADDRESS> --lh-address <LH_ADDRESS> The address of the Lighthouse to unenroll nodes to (default=localhost).
  -d --dry-run Don't actually delete anything - just list the nodes that would be deleted.
  -v --verbose List the number of nodes in each state.
  -i --insecure Don't verify https certificates. This is only recommended for localhost.
Y -u <LH_USERNAME> --lh_username <LH_USERNAME> The username of a Lighthouse root/admin user.
Y -p <LH_PASSWORD> --lh_password <LH_PASSWORD> The password of a Lighthouse root/admin user.
  --all   Unenroll all nodes.
  --never-seen   Unenroll nodes that have never been seen.
  --approved   Unenroll all approved nodes.
  --connected   Unenroll all connected nodes.
  --disconnected   Unenroll all disconnected nodes.
  --pending   Unenroll all nodes that are pending.
  --pending-connected   Unenroll nodes that are pending, and connected.
  --pending-disconnected   Unenroll nodes that are pending, but disconnected.

Note: The following options are related to the unenrollment strategy and only one option to be selected when entering the command:
(--all | --never-seen | --approved | --connected | --disconnected | --pending | --pending-connected | --pending-disconnected)