---
title: "PATCH /providers/Microsoft.Management/managementGroups/{groupId}"
method: PATCH
path: "/providers/Microsoft.Management/managementGroups/{groupId}"
tags: ["ManagementGroups"]
---

# PATCH /providers/Microsoft.Management/managementGroups/{groupId}

`PATCH /providers/Microsoft.Management/managementGroups/{groupId}`

Update a management group.

## Path parameters

- `groupId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `Cache-Control` string

## Request body

- PatchManagementGroupRequest — Management group patch parameters.
  - `displayName` string, nullable — The friendly name of the management group.
  - `parentGroupId` string, nullable — (Optional) The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000

## Response `200`

OK

- ManagementGroup — The management group details.
  - `id` string — The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
  - `type` string — The type of the resource. For example, Microsoft.Management/managementGroups
  - `name` string — The name of the management group. For example, 00000000-0000-0000-0000-000000000000
  - `properties` ManagementGroupProperties — The generic properties of a management group.
    - `tenantId` string — The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000
    - `displayName` string — The friendly name of the management group.
    - `details` ManagementGroupDetails — The details of a management group.
      - `version` number — The version number of the object.
      - `updatedTime` string, date-time — The date and time when this object was last updated.
      - `updatedBy` string — The identity of the principal or process that updated the object.
      - `parent` ParentGroupInfo — (Optional) The ID of the parent management group.
        - `id` string — The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
        - `name` string — The name of the parent management group
        - `displayName` string — The friendly name of the parent management group.
      - `path` ManagementGroupPathElement[], nullable — The path from the root to the current group.
        - `name` string — The name of the group.
        - `displayName` string — The friendly name of the group.
      - `managementGroupAncestors` string[], nullable — The ancestors of the management group.
      - `managementGroupAncestorsChain` ManagementGroupPathElement[], nullable — The ancestors of the management group displayed in reversed order, from immediate parent to the root.
        - `name` string — The name of the group.
        - `displayName` string — The friendly name of the group.
    - `children` ManagementGroupChildInfo[], nullable — The list of children.
      - `type` 'Microsoft.Management/managementGroups' | '/subscriptions' — The type of child resource.
      - `id` string — The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000
      - `name` string — The name of the child entity.
      - `displayName` string — The friendly name of the child resource.
      - `children` ManagementGroupChildInfo[] — The list of children.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/azure/apis/management-microsoft-management-managementgroups.md) · [All operations](https://skmtc.net/azure/apis/management-microsoft-management-managementgroups/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/management-microsoft-management-managementgroups/versions/8a88b7130da6/schema)
