Users
List user role assignments
Changed onReturns the role assignments for every user in your Cortex tenant, intended for access reviews and access governance reporting. Each entry lists the user along with their assigned built-in (BASIC) and CUSTOM roles. Requires the View Roles permission; assign it to a custom role to issue a least-privilege API key for automated reporting.
get/api/v1/users/roles
Request
- Base URLhttps://api.getcortexapp.com
- URLhttps://api.getcortexapp.com/api/v1/users/roles
- AuthHTTP bearer
Query parameters
emailstring[]
Filter to specific users by email. Provide a comma-separated list to request multiple users (e.g. ?email=a@acme.com,b@acme.com). Matching is case-insensitive. Omit to return all users.
pageSizeinteger required
Number of results to return per page, between 1 and 1000. Default 250.
pageinteger required
Page number to return, 0-indexed. Default 0.
Response
Successfully retrieved user role assignments
Changes
- info
endpoint added
- info