Skip to content

Commit ec0f9b0

Browse files
authored
Merge pull request #25047 from microsoftgraph/permissions-tables-update/161137
Permissions tables update
2 parents e8ffc20 + 5ef0542 commit ec0f9b0

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

api-reference/beta/api/teamsapp-delete.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can also use this API to remove a submitted app from the review process.
2323

2424
## Permissions
2525

26-
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
26+
The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow [best practices](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions) to request least privileged permissions. For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
2727

2828
> [!NOTE]
2929
> - The Directory.ReadWrite.All permission is supported only for backward compatibility. We recommend that you update your solutions to use an alternative permission and avoid using this permissions going forward.
@@ -44,15 +44,14 @@ Permissions for the following HTTP request:
4444

4545
<!-- { "blockType": "ignored" } -->
4646
```http
47-
DELETE appCatalogs/teamsApps/{appId}/appDefinitions/{appDefinitionId}
47+
DELETE /appCatalogs/teamsApps/{appId}/appDefinitions/{appDefinitionId}
4848
```
49-
<!-- { "blockType": "permissions", "name": "teamsapp_delete",   "requestUrls" : ["DELETE appCatalogs/teamsApps/{appId}/appDefinitions/{appDefinitionId}"] } -->
50-
51-
|Permission type|Least privileged permissions|Higher privileged permissions|
52-
|:---|:---|:---|
53-
|Delegated (work or school account)|AppCatalog.Submit|AppCatalog.ReadWrite.All|
54-
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
55-
|Application|Not supported.|Not supported.|
49+
<!-- {
50+
"blockType": "permissions",
51+
"name": "teamsapp_delete_2",
52+
"requestUrls": ["DELETE /appCatalogs/teamsApps/{appId}/appDefinitions/{appDefinitionId}"]
53+
} -->
54+
[!INCLUDE [permissions-table](../includes/permissions/teamsapp-delete-2-permissions.md)]
5655

5756

5857
## HTTP request
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
description: "Automatically generated file. DO NOT MODIFY"
3+
ms.topic: include
4+
ms.localizationpriority: medium
5+
---
6+
7+
|Permission type|Least privileged permissions|Higher privileged permissions|
8+
|:---|:---|:---|
9+
|Delegated (work or school account)|AppCatalog.Submit|AppCatalog.ReadWrite.All|
10+
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
11+
|Application|Not supported.|Not supported.|

0 commit comments

Comments
 (0)