// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.managementgroups.generated;

/** Samples for ManagementGroups Delete. */
public final class ManagementGroupsDeleteSamples {
    /*
     * x-ms-original-file: specification/managementgroups/resource-manager/Microsoft.Management/stable/2021-04-01/examples/DeleteManagementGroup.json
     */
    /**
     * Sample code: DeleteManagementGroup.
     *
     * @param manager Entry point to ManagementGroupsManager.
     */
    public static void deleteManagementGroup(
        com.azure.resourcemanager.managementgroups.ManagementGroupsManager manager) {
        manager.managementGroups().delete("GroupToDelete", "no-cache", com.azure.core.util.Context.NONE);
    }
}
