Currently, CWP Console doesn't support deletion of multiple controllers. Multiple deletion of controllers is not supported via REST API as well. It was a design decision not to support deletion of multiple controllers.
This is because, as part of deletion of controller following tasks are performed:
- User is prompted to confirm besides deleting the controller, if user wants to delete all the associated storage assets such as storage accounts associated with that controller. The user response for each controller might be different.
- On confirming Yes, by the user, we also delete the associated storage accounts associated with the controller. This reduces the extra effort by the user to manually delete all the associated storage accounts for that controller.
- Also, we send an unenroll command to the controller to disconnect from the CWP domain it was enrolled to.