{ "opencollection": "1.0.0", "info": { "name": "Microsoft Entra ID (Microsoft Graph) REST Applications Groups API", "version": "v1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Groups", "type": "folder" }, "items": [ { "info": { "name": "List groups", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups", "params": [ { "name": "$select", "value": "", "type": "query" }, { "name": "$filter", "value": "", "type": "query" }, { "name": "$top", "value": "", "type": "query" } ] }, "docs": "List groups" }, { "info": { "name": "Create a group", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/groups", "body": { "type": "json", "data": "{}" } }, "docs": "Create a group" }, { "info": { "name": "Get a group", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id or userPrincipalName of the directory object" } ] }, "docs": "Get a group" }, { "info": { "name": "Update a group", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/groups/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id or userPrincipalName of the directory object" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a group" }, { "info": { "name": "Delete a group", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/groups/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id or userPrincipalName of the directory object" } ] }, "docs": "Delete a group" }, { "info": { "name": "List group members", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups/:id/members", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id or userPrincipalName of the directory object" } ] }, "docs": "List group members" }, { "info": { "name": "Add a member to a group", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/groups/:id/members/$ref", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id or userPrincipalName of the directory object" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add a member to a group" } ] } ], "bundled": true }