v11

latestSwagger 2.02026-07-13204672.0 KB
ManagementGroups

Get the details of the management group.

get/providers/Microsoft.Management/managementGroups/{groupId}

Path parameters

groupIdstring required

Management Group ID.

Query parameters

api-versionstring required

Version of the API to be used with the client request. The current version is 2018-01-01-preview.

$expand'children' | 'path' | 'ancestors'

The $expand=children query string parameter allows clients to request inclusion of children in the response payload. $expand=path includes the path from the root group to the current group. $expand=ancestors includes the ancestor Ids of the current group.

$recurseboolean

The $recurse=true query string parameter allows clients to request inclusion of entire hierarchy in the response payload. Note that $expand=children must be passed up if $recurse is set to true.

$filterstring

A filter which allows the exclusion of subscriptions from results (i.e. '$filter=children.childType ne Subscription')

Headers

Cache-Controlstring

Indicates whether the request should utilize any caches. Populate the header with 'no-cache' value to bypass existing caches.

Response

OK

idstring

The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000

typestring

The type of the resource. For example, Microsoft.Management/managementGroups

namestring

The name of the management group. For example, 00000000-0000-0000-0000-000000000000