-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
GetManagementGroupWithAncestors.json
41 lines (41 loc) · 1.34 KB
/
GetManagementGroupWithAncestors.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"parameters": {
"api-version": "2021-04-01",
"groupId": "20000000-0001-0000-0000-00000000000",
"$expand": "ancestors",
"Cache-Control": "no-cache"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000",
"type": "Microsoft.Management/managementGroups",
"name": "20000000-0001-0000-0000-000000000000",
"properties": {
"tenantId": "20000000-0000-0000-0000-000000000000",
"displayName": "Group 1 Tenant 2",
"details": {
"version": 1,
"updatedTime": "2018-01-01T00:00:00.00Z",
"updatedBy": "Test",
"parent": {
"id": "/providers/Microsoft.Management/managementGroups/20000000-0000-0000-0000-000000000001",
"name": "20000000-0000-0000-0000-000000000001",
"displayName": "Parent display name"
},
"managementGroupAncestorsChain": [
{
"name": "20000000-0000-0000-0000-000000000001",
"displayName": "Parent display name"
},
{
"name": "20000000-0000-0000-0000-000000000000",
"displayName": "Grandparent display name"
}
]
}
}
}
}
}
}