{ "opencollection": "1.0.0", "info": { "name": "Microsoft Active Directory (via Microsoft Graph) Applications Groups API", "version": "1.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" }, "docs": "List groups" }, { "info": { "name": "Create a group", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/groups" }, "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" } ] }, "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" } ] }, "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" } ] }, "docs": "Delete a group" }, { "info": { "name": "List members of a group", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/groups/:id/members", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "List members of a group" }, { "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" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add a member to a group" } ] } ], "bundled": true }