{ "opencollection": "1.0.0", "info": { "name": "Secure Code Warrior Portal Assessments Users API", "version": "2.0.0" }, "request": { "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "List Users", "type": "http" }, "http": { "method": "GET", "url": "https://portal-api.securecodewarrior.com/api/v2/users", "params": [ { "name": "fields", "value": "", "type": "query", "description": "Comma-separated list of fields to include in response" }, { "name": "page", "value": "", "type": "query" } ] }, "docs": "Retrieve all user records within the organization." }, { "info": { "name": "Create User", "type": "http" }, "http": { "method": "POST", "url": "https://portal-api.securecodewarrior.com/api/v2/users", "params": [ { "name": "sendInvite", "value": "", "type": "query", "description": "Send invitation email to new user" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new user account within the organization." }, { "info": { "name": "Search Users", "type": "http" }, "http": { "method": "POST", "url": "https://portal-api.securecodewarrior.com/api/v2/users/search", "params": [ { "name": "fields", "value": "", "type": "query" }, { "name": "page", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Search users with filtering criteria including email, team, and tags." }, { "info": { "name": "Get User", "type": "http" }, "http": { "method": "GET", "url": "https://portal-api.securecodewarrior.com/api/v2/users/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "idtype", "value": "", "type": "query", "description": "Type of identifier (id or email)" }, { "name": "fields", "value": "", "type": "query" } ] }, "docs": "Retrieve a single user by ID or email address." }, { "info": { "name": "Update User", "type": "http" }, "http": { "method": "PATCH", "url": "https://portal-api.securecodewarrior.com/api/v2/users/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "idtype", "value": "", "type": "query" }, { "name": "skipNotifyIfSso", "value": "", "type": "query" }, { "name": "sendInvite", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update user details and attributes." }, { "info": { "name": "Delete User", "type": "http" }, "http": { "method": "DELETE", "url": "https://portal-api.securecodewarrior.com/api/v2/users/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "idtype", "value": "", "type": "query" } ] }, "docs": "Remove a user from the organization." }, { "info": { "name": "List User Roles", "type": "http" }, "http": { "method": "GET", "url": "https://portal-api.securecodewarrior.com/api/v2/users/roles" }, "docs": "Get available role options for the company." } ] } ], "bundled": true }