{ "opencollection": "1.0.0", "info": { "name": "DMI Backend actions groups API", "version": "0.1.0" }, "items": [ { "info": { "name": "groups", "type": "folder" }, "items": [ { "info": { "name": "List Groups", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/groups" }, "docs": "List all groups for the company. Available to any company member." }, { "info": { "name": "Create Group", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/groups", "body": { "type": "json", "data": "{}" } }, "docs": "Create a group. Requires company admin." }, { "info": { "name": "Update Group", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/v1/groups/:group_id", "params": [ { "name": "group_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a group's name, description, or rule. Requires company admin." }, { "info": { "name": "Delete Group", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v1/groups/:group_id", "params": [ { "name": "group_id", "value": "", "type": "path" } ] }, "docs": "Delete a group. Requires company admin." }, { "info": { "name": "Get Group Members", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/groups/:group_id/members", "params": [ { "name": "group_id", "value": "", "type": "path" } ] }, "docs": "Get manual and effective members of a group. Requires company admin." }, { "info": { "name": "Add Group Member", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/groups/:group_id/members/:user_id", "params": [ { "name": "group_id", "value": "", "type": "path" }, { "name": "user_id", "value": "", "type": "path" } ] }, "docs": "Add a manual member to a group. Requires company admin." }, { "info": { "name": "Remove Group Member", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v1/groups/:group_id/members/:user_id", "params": [ { "name": "group_id", "value": "", "type": "path" }, { "name": "user_id", "value": "", "type": "path" } ] }, "docs": "Remove a manual member from a group. Requires company admin." } ] } ], "bundled": true }