{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin Groups.group API", "version": "1.0.0" }, "items": [ { "info": { "name": "Groups.group", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph List groups", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups", "headers": [ { "name": "ConsistencyLevel", "value": "" } ], "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": "List all the groups available in an organization, excluding dynamic distribution groups. To retrieve dynamic distribution groups, use the Exchange admin center. This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation for the group and specify the properties in a $select OData query option. The hasMembersWithLicenseErrors and isArchived pro" }, { "info": { "name": "Microsoft Graph Create group", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/groups", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new group as specified in the request body. You can create the following types of groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option." }, { "info": { "name": "Microsoft Graph Get group", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups/:group-id", "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query." }, { "info": { "name": "Microsoft Graph Upsert group", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/groups/:group-id", "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new group object if it doesn't exist, or update the properties of an existing group object.\r\nYou can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option." }, { "info": { "name": "Microsoft Graph Delete group", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/groups/:group-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "group-id", "value": "", "type": "path", "description": "The unique identifier of group" } ] }, "docs": "Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems." }, { "info": { "name": "Microsoft Graph Get group", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups(uniqueName=':uniqueName')", "params": [ { "name": "uniqueName", "value": "", "type": "path", "description": "Alternate key of group" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get the properties and relationships of a group object. This operation returns by default only a subset of all the available properties, as noted in the Properties section. To get properties that aren't_ returned by default, specify them in a $select OData query option. The hasMembersWithLicenseErrors and isArchived properties are an exception and aren't returned in the $select query." }, { "info": { "name": "Microsoft Graph Upsert group", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/groups(uniqueName=':uniqueName')", "params": [ { "name": "uniqueName", "value": "", "type": "path", "description": "Alternate key of group" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new group object if it doesn't exist, or update the properties of an existing group object.\r\nYou can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option." }, { "info": { "name": "Microsoft Graph Delete group", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/groups(uniqueName=':uniqueName')", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "uniqueName", "value": "", "type": "path", "description": "Alternate key of group" } ] }, "docs": "Delete a group. When deleted, both Microsoft 365 and security groups are moved to a temporary container and can be restored within 30 days. After that time, they're permanently deleted. This doesn't apply to Distribution groups which are permanently deleted immediately. To learn more, see deletedItems." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups/$count", "headers": [ { "name": "ConsistencyLevel", "value": "" } ], "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 }