{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin groups.groupLifecyclePolicy API", "version": "1.0.0" }, "items": [ { "info": { "name": "groups.groupLifecyclePolicy", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph List groupLifecyclePolicies", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups/:group-id/groupLifecyclePolicies", "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" }, { "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": "Retrieves a list of groupLifecyclePolicy objects to which a group belongs." }, { "info": { "name": "Microsoft Graph Create new navigation property to groupLifecyclePolicies for groups", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/groups/:group-id/groupLifecyclePolicies", "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Create new navigation property to groupLifecyclePolicies for groups" }, { "info": { "name": "Microsoft Graph Get groupLifecyclePolicies from groups", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups/:group-id/groupLifecyclePolicies/:groupLifecyclePolicy-id", "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" }, { "name": "groupLifecyclePolicy-id", "value": "", "type": "path", "description": "The unique identifier of groupLifecyclePolicy" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "The collection of lifecycle policies for this group. Read-only. Nullable." }, { "info": { "name": "Microsoft Graph Update the navigation property groupLifecyclePolicies in groups", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/groups/:group-id/groupLifecyclePolicies/:groupLifecyclePolicy-id", "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" }, { "name": "groupLifecyclePolicy-id", "value": "", "type": "path", "description": "The unique identifier of groupLifecyclePolicy" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property groupLifecyclePolicies in groups" }, { "info": { "name": "Microsoft Graph Delete navigation property groupLifecyclePolicies for groups", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/groups/:group-id/groupLifecyclePolicies/:groupLifecyclePolicy-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" }, { "name": "groupLifecyclePolicy-id", "value": "", "type": "path", "description": "The unique identifier of groupLifecyclePolicy" } ] }, "docs": "Microsoft Graph Delete navigation property groupLifecyclePolicies for groups" }, { "info": { "name": "Microsoft Graph Invoke action addGroup", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/groups/:group-id/groupLifecyclePolicies/:groupLifecyclePolicy-id/addGroup", "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" }, { "name": "groupLifecyclePolicy-id", "value": "", "type": "path", "description": "The unique identifier of groupLifecyclePolicy" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add a group to a groupLifecyclePolicy. This action is supported only if the managedGroupTypes property of the policy is set to Selected." }, { "info": { "name": "Microsoft Graph Invoke action removeGroup", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/groups/:group-id/groupLifecyclePolicies/:groupLifecyclePolicy-id/removeGroup", "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" }, { "name": "groupLifecyclePolicy-id", "value": "", "type": "path", "description": "The unique identifier of groupLifecyclePolicy" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Removes a group from a lifecycle policy." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups/:group-id/groupLifecyclePolicies/$count", "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" }, { "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 }