pub async fn delete_group(
infra: &InfraContext<'_>,
token: &str,
label: &str,
force: bool,
) -> Result<(), Error>Expand description
Delete the HSM group named label.
Unless force is set, validate_group_deletion runs first and
the delete is rejected if any node would be orphaned.
ยงErrors
Any error from validate_group_deletion when force is false,
plus [Error::NetError] / [Error::CsmError] from the backend
delete_group call.