{ "opencollection": "1.0.0", "info": { "name": "OpsGenie Account Users API", "version": "2.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Users", "type": "folder" }, "items": [ { "info": { "name": "List users", "type": "http" }, "http": { "method": "GET", "url": "https://api.opsgenie.com/v2/users", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of users to return." }, { "name": "offset", "value": "", "type": "query", "description": "Starting index for pagination." }, { "name": "sort", "value": "", "type": "query", "description": "Field to sort results by." }, { "name": "order", "value": "", "type": "query", "description": "Sort order for results." }, { "name": "query", "value": "", "type": "query", "description": "Query to filter users by username, fullName, or blocked status." } ] }, "docs": "Returns a list of users in the OpsGenie account." }, { "info": { "name": "Create user", "type": "http" }, "http": { "method": "POST", "url": "https://api.opsgenie.com/v2/users", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new user in the OpsGenie account." }, { "info": { "name": "Get user", "type": "http" }, "http": { "method": "GET", "url": "https://api.opsgenie.com/v2/users/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Identifier of the user, which can be the user ID or username (email)." } ] }, "docs": "Retrieves details of a specific user by ID or username." }, { "info": { "name": "Update user", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.opsgenie.com/v2/users/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Identifier of the user, which can be the user ID or username (email)." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified user's profile information." }, { "info": { "name": "Delete user", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.opsgenie.com/v2/users/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Identifier of the user, which can be the user ID or username (email)." } ] }, "docs": "Deletes the specified user from the OpsGenie account." }, { "info": { "name": "List user escalations", "type": "http" }, "http": { "method": "GET", "url": "https://api.opsgenie.com/v2/users/:identifier/escalations", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Identifier of the user, which can be the user ID or username (email)." } ] }, "docs": "Lists the escalation policies that include the specified user." }, { "info": { "name": "List user teams", "type": "http" }, "http": { "method": "GET", "url": "https://api.opsgenie.com/v2/users/:identifier/teams", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Identifier of the user, which can be the user ID or username (email)." } ] }, "docs": "Lists the teams that the specified user belongs to." }, { "info": { "name": "List user schedules", "type": "http" }, "http": { "method": "GET", "url": "https://api.opsgenie.com/v2/users/:identifier/schedules", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Identifier of the user, which can be the user ID or username (email)." } ] }, "docs": "Lists the on-call schedules that include the specified user." } ] } ], "bundled": true }