{ "opencollection": "1.0.0", "info": { "name": "Skilljar Assets Groups > Users API", "version": "1.0.0" }, "items": [ { "info": { "name": "Groups > Users", "type": "folder" }, "items": [ { "info": { "name": "groups_users_list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/groups/:group_id/users", "params": [ { "name": "group_id", "value": "", "type": "path" }, { "name": "page", "value": "", "type": "query", "description": "A page number within the paginated result set." }, { "name": "page_size", "value": "", "type": "query", "description": "Number of results to return per page." } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "List all users in a group.\n\nReturns a paginated list of users who are members of the specified group." }, { "info": { "name": "groups_users_create", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/groups/:group_id/users", "params": [ { "name": "group_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Add a user to a group.\n\nSpecify the user to add by their ID." }, { "info": { "name": "groups_users_retrieve", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/groups/:group_id/users/:user_id", "params": [ { "name": "group_id", "value": "", "type": "path" }, { "name": "user_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Retrieve details about a user's membership in a group.\n\nReturns user information and membership metadata." }, { "info": { "name": "groups_users_destroy", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/groups/:group_id/users/:user_id", "params": [ { "name": "group_id", "value": "", "type": "path" }, { "name": "user_id", "value": "", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "Remove a user from a group.\n\nThis action only removes the user's membership from the group; the user account remains active." } ] } ], "bundled": true }