{ "opencollection": "1.0.0", "info": { "name": "Snyk AccessRequests Users API", "version": "REST" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "Update a user's role in a group (Early Access)", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.snyk.io/rest/groups/:group_id/users/:id", "params": [ { "name": "group_id", "value": "", "type": "path", "description": "The id of the group" }, { "name": "id", "value": "", "type": "path", "description": "The id of the user" }, { "name": "version", "value": "2026-03-25", "type": "query", "description": "The requested version of the endpoint to process the request" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a user's membership of the group.\n\nTo remove a user's membership, provide 'null' as the membership parameter (see example).\n\nAt present, only removing memberships is supported by this endpoint. To update a user's group membership, please use\nthe UI or legacy API.\n\n#### Required permissions\n\n- `View Groups (group.read)`\n\n- `View users (group.user.read)`\n\n- `Remove users (group.user.remove)`" }, { "info": { "name": "Get user by ID (Early Access)", "type": "http" }, "http": { "method": "GET", "url": "https://api.snyk.io/rest/orgs/:org_id/users/:id", "params": [ { "name": "org_id", "value": "", "type": "path", "description": "The id of the org" }, { "name": "id", "value": "", "type": "path", "description": "The id of the user" }, { "name": "version", "value": "2026-03-25", "type": "query", "description": "The requested version of the endpoint to process the request" } ] }, "docs": "Get a summary of user.\n\nNote that Service Accounts are not returned by this endpoint. Please use the Service Accounts endpoints.\n\n#### Required permissions\n\n- `View users (org.user.read)`" }, { "info": { "name": "My User Details", "type": "http" }, "http": { "method": "GET", "url": "https://api.snyk.io/rest/self", "params": [ { "name": "version", "value": "2026-03-25", "type": "query", "description": "The requested version of the endpoint to process the request" } ] }, "docs": "Retrieves information about the the user making the request." } ] } ], "bundled": true }