@@ -127,22 +127,22 @@ Replace id with the object ID of the service principal that you want to restore.
127
127
```
128
128
129
129
# [ C#] ( #tab/csharp )
130
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/csharp/create-directoryobject-from- directory-csharp-snippets.md )]
130
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/csharp/restore- directory-deleteditem -csharp-snippets.md )]
131
131
132
132
# [ JavaScript] ( #tab/javascript )
133
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/javascript/create-directoryobject-from- directory-javascript-snippets.md )]
133
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/javascript/restore- directory-deleteditem -javascript-snippets.md )]
134
134
135
135
# [ Java] ( #tab/java )
136
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/java/create-directoryobject-from- directory-java-snippets.md )]
136
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/java/restore- directory-deleteditem -java-snippets.md )]
137
137
138
138
# [ Go] ( #tab/go )
139
139
[ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/go/create-directoryobject-from-directory-go-snippets.md )]
140
140
141
141
# [ PowerShell] ( #tab/powershell )
142
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/powershell/create-directoryobject-from- directory-powershell-snippets.md )]
142
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/powershell/restore- directory-deleteditem -powershell-snippets.md )]
143
143
144
144
# [ PHP] ( #tab/php )
145
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/php/create-directoryobject-from- directory-php-snippets.md )]
145
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/php/restore- directory-deleteditem -php-snippets.md )]
146
146
147
147
---
148
148
@@ -184,22 +184,22 @@ DELETE https://graph.microsoft.com/v1.0/directory/deletedItems/{object-id}
184
184
```
185
185
186
186
# [ C#] ( #tab/csharp )
187
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/csharp/delete-directory-csharp-snippets.md )]
187
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/csharp/delete-directory-deleteditem- csharp-snippets.md )]
188
188
189
189
# [ JavaScript] ( #tab/javascript )
190
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/javascript/delete-directory-javascript-snippets.md )]
190
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/javascript/delete-directory-deleteditem- javascript-snippets.md )]
191
191
192
192
# [ Java] ( #tab/java )
193
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/java/delete-directory-java-snippets.md )]
193
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/java/delete-directory-deleteditem- java-snippets.md )]
194
194
195
195
# [ Go] ( #tab/go )
196
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/go/delete-directory-go-snippets.md )]
196
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/go/delete-directory-deleteditem- go-snippets.md )]
197
197
198
198
# [ PowerShell] ( #tab/powershell )
199
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/powershell/delete-directory-powershell-snippets.md )]
199
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/powershell/delete-directory-deleteditem- powershell-snippets.md )]
200
200
201
201
# [ PHP] ( #tab/php )
202
- [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/php/delete-directory-php-snippets.md )]
202
+ [ !INCLUDE [ sample-code] ( ~/microsoft-graph/api-reference/v1.0/includes/snippets/php/delete-directory-deleteditem- php-snippets.md )]
203
203
204
204
---
205
205
0 commit comments