{ "opencollection": "1.0.0", "info": { "name": "OpenAI Assistants Group users API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Group users", "type": "folder" }, "items": [ { "info": { "name": "Lists the users assigned to a group.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openai.com/v1/organization/groups/:group_id/users", "params": [ { "name": "group_id", "value": "", "type": "path", "description": "The ID of the group to inspect." }, { "name": "limit", "value": "", "type": "query", "description": "A limit on the number of users to be returned. Limit can range between 0 and 1000, and the default is 100.\n" }, { "name": "after", "value": "", "type": "query", "description": "A cursor for use in pagination. Provide the ID of the last user from the previous list response to retrieve the next page.\n" }, { "name": "order", "value": "", "type": "query", "description": "Specifies the sort order of users in the list." } ] }, "docs": "Lists the users assigned to a group." }, { "info": { "name": "Adds a user to a group.", "type": "http" }, "http": { "method": "POST", "url": "https://api.openai.com/v1/organization/groups/:group_id/users", "params": [ { "name": "group_id", "value": "", "type": "path", "description": "The ID of the group to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds a user to a group." }, { "info": { "name": "Removes a user from a group.", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.openai.com/v1/organization/groups/:group_id/users/:user_id", "params": [ { "name": "group_id", "value": "", "type": "path", "description": "The ID of the group to update." }, { "name": "user_id", "value": "", "type": "path", "description": "The ID of the user to remove from the group." } ] }, "docs": "Removes a user from a group." } ] } ], "bundled": true }