{ "opencollection": "1.0.0", "info": { "name": "Duo Admin Bulk Groups API", "version": "v1" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Groups", "type": "folder" }, "items": [ { "info": { "name": "List user groups", "type": "http" }, "http": { "method": "GET", "url": "https://api-XXXXXXXX.duosecurity.com/admin/v1/users/:user_id/groups", "params": [ { "name": "user_id", "value": "", "type": "path" } ] }, "docs": "Returns paged list of groups associated with a user." }, { "info": { "name": "Associate group with user", "type": "http" }, "http": { "method": "POST", "url": "https://api-XXXXXXXX.duosecurity.com/admin/v1/users/:user_id/groups", "params": [ { "name": "user_id", "value": "", "type": "path" } ] }, "docs": "Associate group with user" }, { "info": { "name": "Disassociate group from user", "type": "http" }, "http": { "method": "DELETE", "url": "https://api-XXXXXXXX.duosecurity.com/admin/v1/users/:user_id/groups/:group_id", "params": [ { "name": "user_id", "value": "", "type": "path" }, { "name": "group_id", "value": "", "type": "path" } ] }, "docs": "Disassociate group from user" }, { "info": { "name": "List groups", "type": "http" }, "http": { "method": "GET", "url": "https://api-XXXXXXXX.duosecurity.com/admin/v1/groups" }, "docs": "Returns a paged list of groups." }, { "info": { "name": "Create group", "type": "http" }, "http": { "method": "POST", "url": "https://api-XXXXXXXX.duosecurity.com/admin/v1/groups" }, "docs": "Create group" }, { "info": { "name": "Update group", "type": "http" }, "http": { "method": "POST", "url": "https://api-XXXXXXXX.duosecurity.com/admin/v1/groups/:group_id", "params": [ { "name": "group_id", "value": "", "type": "path" } ] }, "docs": "Update group" }, { "info": { "name": "Get group (v2)", "type": "http" }, "http": { "method": "GET", "url": "https://api-XXXXXXXX.duosecurity.com/admin/v2/groups/:group_id", "params": [ { "name": "group_id", "value": "", "type": "path" } ] }, "docs": "Retrieve information about a group." }, { "info": { "name": "List group users (v2)", "type": "http" }, "http": { "method": "GET", "url": "https://api-XXXXXXXX.duosecurity.com/admin/v2/groups/:group_id/users", "params": [ { "name": "group_id", "value": "", "type": "path" } ] }, "docs": "Returns a paged list of group members." } ] } ], "bundled": true }