Skip to content

Commit e91f36a

Browse files
authored
Merge pull request #25995 from microsoftgraph/snippet-generation/175186
Snippets Update
2 parents 54c4be7 + ffbd6e8 commit e91f36a

File tree

94 files changed

+754
-307
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+754
-307
lines changed

api-reference/beta/api/corsconfiguration_v2-get.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ GET https://graph.microsoft.com/beta/applications/{applicationObjectId}/onPremis
7878

7979
---
8080

81-
8281
### Response
8382

8483
The following example shows the response.

api-reference/beta/api/corsconfiguration_v2-update.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ Content-Type: application/json
9797

9898
---
9999

100-
101100
### Response
102101

103102
The following example shows the response.

api-reference/beta/api/directoryaudit-list.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,50 @@ Content-type: application/json
183183

184184
The following example shows a request.
185185

186+
# [HTTP](#tab/http)
186187
<!-- {
187188
"blockType": "request",
188189
"name": "get_directoryaudits_filter_initiatedby"
189190
}-->
190191

191-
```http
192+
```msgraph-interactive
192193
GET https://graph.microsoft.com/beta/auditLogs/directoryAudits?$filter=initiatedBy/user/id eq '00000000-0000-0000-0000-000000000000'
193194
```
194195

196+
# [C#](#tab/csharp)
197+
[!INCLUDE [sample-code](../includes/snippets/csharp/get-directoryaudits-filter-initiatedby-csharp-snippets.md)]
198+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
199+
200+
# [CLI](#tab/cli)
201+
[!INCLUDE [sample-code](../includes/snippets/cli/get-directoryaudits-filter-initiatedby-cli-snippets.md)]
202+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
203+
204+
# [Go](#tab/go)
205+
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryaudits-filter-initiatedby-go-snippets.md)]
206+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
207+
208+
# [Java](#tab/java)
209+
[!INCLUDE [sample-code](../includes/snippets/java/get-directoryaudits-filter-initiatedby-java-snippets.md)]
210+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
211+
212+
# [JavaScript](#tab/javascript)
213+
[!INCLUDE [sample-code](../includes/snippets/javascript/get-directoryaudits-filter-initiatedby-javascript-snippets.md)]
214+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
215+
216+
# [PHP](#tab/php)
217+
[!INCLUDE [sample-code](../includes/snippets/php/get-directoryaudits-filter-initiatedby-php-snippets.md)]
218+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
219+
220+
# [PowerShell](#tab/powershell)
221+
[!INCLUDE [sample-code](../includes/snippets/powershell/get-directoryaudits-filter-initiatedby-powershell-snippets.md)]
222+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
223+
224+
# [Python](#tab/python)
225+
[!INCLUDE [sample-code](../includes/snippets/python/get-directoryaudits-filter-initiatedby-python-snippets.md)]
226+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
227+
228+
---
229+
195230
#### Response
196231

197232
The following example shows the response.

api-reference/beta/api/ipapplicationsegment-get.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ GET https://graph.microsoft.com/beta/applications/dcc40202-6223-488b-8e64-28aa1a
7676

7777
---
7878

79-
8079
#### Response
8180

8281
The following example shows the response.

api-reference/beta/api/ipapplicationsegment-update.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ Content-Type: application/json
8888

8989
---
9090

91-
9291
### Response
9392

9493
The following example shows the response.

api-reference/beta/api/onpremisespublishingprofile-delete-applicationsegments.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ DELETE https://graph.microsoft.com/beta/applications/dcc40202-6223-488b-8e64-28a
7070

7171
---
7272

73-
7473
### Response
7574

7675
The following example shows the response.

api-reference/beta/api/onpremisespublishingprofile-list-applicationsegments.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ GET https://graph.microsoft.com/beta/applications/dcc40202-6223-488b-8e64-28aa1a
7474

7575
---
7676

77-
7877
### Response
7978

8079
The following example shows the response.

api-reference/beta/api/onpremisespublishingprofile-post-applicationsegments.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ Content-Type: application/json
9292

9393
---
9494

95-
9695
### Response
9796

9897
The following example shows the response.

api-reference/beta/api/webapplicationsegment-delete-corsconfigurations.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ DELETE https://graph.microsoft.com/beta/applications/129d6e80-484f-4d1f-bfca-a6a
7474

7575
---
7676

77-
7877
### Response
7978

8079
The following example shows the response.

api-reference/beta/api/webapplicationsegment-get.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ GET https://graph.microsoft.com/beta/applications/129d6e80-484f-4d1f-bfca-a6a859
7878

7979
---
8080

81-
8281
### Response
8382

8483
The following example shows the response.

0 commit comments

Comments
 (0)