{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin servicePrincipals.oAuth2PermissionGrant API", "version": "1.0.0" }, "items": [ { "info": { "name": "servicePrincipals.oAuth2PermissionGrant", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph List oauth2PermissionGrants granted to a service principal", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/oauth2PermissionGrants", "params": [ { "name": "servicePrincipal-id", "value": "", "type": "path", "description": "The unique identifier of servicePrincipal" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve a list of oAuth2PermissionGrant entities, representing delegated permissions granted to the service principal (representing the client application) to access an API on behalf of a user." }, { "info": { "name": "Microsoft Graph Get oauth2PermissionGrants from servicePrincipals", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/oauth2PermissionGrants/:oAuth2PermissionGrant-id", "params": [ { "name": "servicePrincipal-id", "value": "", "type": "path", "description": "The unique identifier of servicePrincipal" }, { "name": "oAuth2PermissionGrant-id", "value": "", "type": "path", "description": "The unique identifier of oAuth2PermissionGrant" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Delegated permission grants authorizing this service principal to access an API on behalf of a signed-in user. Read-only. Nullable." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/servicePrincipals/:servicePrincipal-id/oauth2PermissionGrants/$count", "params": [ { "name": "servicePrincipal-id", "value": "", "type": "path", "description": "The unique identifier of servicePrincipal" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" } ] } ], "bundled": true }