{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin oauth2PermissionGrants.oAuth2PermissionGrant API", "version": "1.0.0" }, "items": [ { "info": { "name": "oauth2PermissionGrants.oAuth2PermissionGrant", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph List oauth2PermissionGrants (delegated permission grants)", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/oauth2PermissionGrants", "params": [ { "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 objects, representing delegated permissions which have been granted for client applications to access APIs on behalf of signed-in users." }, { "info": { "name": "Microsoft Graph Create oAuth2PermissionGrant (a delegated permission grant)", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/oauth2PermissionGrants", "body": { "type": "json", "data": "{}" } }, "docs": "Create a delegated permission grant represented by an oAuth2PermissionGrant object. A delegated permission grant authorizes a client service principal (representing a client application) to access a resource service principal (representing an API), on behalf of a signed-in user, for the level of access limited by the delegated permissions which were granted." }, { "info": { "name": "Microsoft Graph Get oAuth2PermissionGrant (a delegated permission grant)", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/oauth2PermissionGrants/:oAuth2PermissionGrant-id", "params": [ { "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": "Retrieve the properties of a single delegated permission grant represented by an oAuth2PermissionGrant object. An oAuth2PermissionGrant represents delegated permissions which have been granted for a client application to access an API on behalf of a signed-in user." }, { "info": { "name": "Microsoft Graph Update a delegated permission grant (oAuth2PermissionGrant)", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/oauth2PermissionGrants/:oAuth2PermissionGrant-id", "params": [ { "name": "oAuth2PermissionGrant-id", "value": "", "type": "path", "description": "The unique identifier of oAuth2PermissionGrant" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the properties of oAuth2PermissionGrant object, representing a delegated permission grant. An oAuth2PermissionGrant can be updated to change which delegated permissions are granted, by adding or removing items from the list in scopes." }, { "info": { "name": "Microsoft Graph Delete oAuth2PermissionGrant (a delegated permission grant)", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/oauth2PermissionGrants/:oAuth2PermissionGrant-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "oAuth2PermissionGrant-id", "value": "", "type": "path", "description": "The unique identifier of oAuth2PermissionGrant" } ] }, "docs": "Delete a delegated permission grant, represented by an oAuth2PermissionGrant object. When a delegated permission grant is deleted, the access it granted is revoked. Existing access tokens will continue to be valid for their lifetime, but new access tokens will not be granted for the delegated permissions identified in the deleted oAuth2PermissionGrant." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/oauth2PermissionGrants/$count", "params": [ { "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 }