Skip to content

Latest commit

 

History

History
127 lines (88 loc) · 4.68 KB

File metadata and controls

127 lines (88 loc) · 4.68 KB
title List delegatedPermissionClassifications collection of servicePrincipal
description Retrieve a list of classifications given to delegated permissions exposed by an API's service principal.
ms.localizationpriority medium
doc_type apiPageType
ms.subservice entra-applications
author psignoret
ms.date 04/19/2024

List delegatedPermissionClassifications collection of servicePrincipal

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Retrieve the list of delegatedPermissionClassification currently configured for the delegated permissions exposed by an API.

[!INCLUDE national-cloud-support]

Permissions

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. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

GET /servicePrincipals/{id}/delegatedPermissionClassifications

Optional query parameters

This method supports the OData query parameters to help customize the response.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a collection of delegatedPermissionClassification objects in the response body.

Example

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/servicePrincipals/{id}/delegatedPermissionClassifications

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-type: application/json

{
  "value": [
    {
        "id": "2G3-4TG6YU2J54hjnaRoPQE",
        "permissionId": "e1fe6dd8-ba31-4d61-89e7-88639da4683d",
        "permissionName": "User.Read",
        "classification": "low"
    }
  ]
}