Skip to content

Commit 02e946a

Browse files
committed
Restore snippet links
1 parent 0c25597 commit 02e946a

File tree

1 file changed

+45
-2
lines changed

1 file changed

+45
-2
lines changed

articles/active-directory/manage-apps/delete-application-portal.md

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,60 @@ To delete an enterprise application, you need:
101101

102102
Delete an enterprise application using [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer).
103103
1. To get the list of applications in your tenant, run the following query.
104-
104+
105+
# [HTTP](#tab/http)
105106
```http
106-
GET /servicePrincipals
107+
GET https://graph.microsoft.com/v1.0/servicePrincipals
107108
```
109+
110+
# [C#](#tab/csharp)
111+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/csharp/list-serviceprincipal-csharp-snippets.md)]
112+
113+
# [JavaScript](#tab/javascript)
114+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/javascript/list-serviceprincipal-javascript-snippets.md)]
115+
116+
# [Java](#tab/java)
117+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/java/list-serviceprincipal-java-snippets.md)]
118+
119+
# [Go](#tab/go)
120+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/go/list-serviceprincipal-go-snippets.md)]
121+
122+
# [PowerShell](#tab/powershell)
123+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/powershell/list-serviceprincipal-powershell-snippets.md)]
124+
125+
# [PHP](#tab/php)
126+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/php/list-serviceprincipal-php-snippets.md)]
127+
128+
---
129+
108130
1. Record the ID of the enterprise app you want to delete.
109131
1. Delete the enterprise application.
110132

133+
# [HTTP](#tab/http)
111134
```http
112135
DELETE /servicePrincipals/{id}
113136
```
114137

138+
# [C#](#tab/csharp)
139+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/csharp/delete-serviceprincipal-csharp-snippets.md)]
140+
141+
# [JavaScript](#tab/javascript)
142+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/javascript/delete-serviceprincipal-javascript-snippets.md)]
143+
144+
# [Java](#tab/java)
145+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/java/delete-serviceprincipal-java-snippets.md)]
146+
147+
# [Go](#tab/go)
148+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/go/delete-serviceprincipal-go-snippets.md)]
149+
150+
# [PowerShell](#tab/powershell)
151+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/powershell/delete-serviceprincipal-powershell-snippets.md)]
152+
153+
# [PHP](#tab/php)
154+
[!INCLUDE [sample-code](~/microsoft-graph/api-reference/v1.0/includes/snippets/php/delete-serviceprincipal-php-snippets.md)]
155+
156+
---
157+
115158
:::zone-end
116159

117160
## Next steps

0 commit comments

Comments
 (0)