{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin policies.tokenLifetimePolicy API", "version": "1.0.0" }, "items": [ { "info": { "name": "policies.tokenLifetimePolicy", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph List tokenLifetimePolicies", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies", "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": "Get a list of tokenLifetimePolicy objects." }, { "info": { "name": "Microsoft Graph Create tokenLifetimePolicy", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new tokenLifetimePolicy object." }, { "info": { "name": "Microsoft Graph Get tokenLifetimePolicy", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/:tokenLifetimePolicy-id", "params": [ { "name": "tokenLifetimePolicy-id", "value": "", "type": "path", "description": "The unique identifier of tokenLifetimePolicy" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve the properties and relationships of a tokenLifetimePolicy object." }, { "info": { "name": "Microsoft Graph Update tokenlifetimepolicy", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/:tokenLifetimePolicy-id", "params": [ { "name": "tokenLifetimePolicy-id", "value": "", "type": "path", "description": "The unique identifier of tokenLifetimePolicy" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the properties of a tokenLifetimePolicy object." }, { "info": { "name": "Microsoft Graph Delete tokenLifetimePolicy", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/:tokenLifetimePolicy-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "tokenLifetimePolicy-id", "value": "", "type": "path", "description": "The unique identifier of tokenLifetimePolicy" } ] }, "docs": "Delete a tokenLifetimePolicy object." }, { "info": { "name": "Microsoft Graph List appliesTo", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/:tokenLifetimePolicy-id/appliesTo", "params": [ { "name": "tokenLifetimePolicy-id", "value": "", "type": "path", "description": "The unique identifier of tokenLifetimePolicy" }, { "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": "Get a list of directoryObject objects that a tokenLifetimePolicy object has been applied to. The tokenLifetimePolicy can only be applied to application." }, { "info": { "name": "Microsoft Graph Get appliesTo from policies", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/:tokenLifetimePolicy-id/appliesTo/:directoryObject-id", "params": [ { "name": "tokenLifetimePolicy-id", "value": "", "type": "path", "description": "The unique identifier of tokenLifetimePolicy" }, { "name": "directoryObject-id", "value": "", "type": "path", "description": "The unique identifier of directoryObject" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Microsoft Graph Get appliesTo from policies" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/:tokenLifetimePolicy-id/appliesTo/$count", "params": [ { "name": "tokenLifetimePolicy-id", "value": "", "type": "path", "description": "The unique identifier of tokenLifetimePolicy" }, { "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" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/$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 }