List all roles with filtering, search, and cursor-based pagination
GET
/resources/iam/roles
Includes system roles by default. Use includeSystem=false to exclude them.
Supports cursor-based pagination using 'after'/'before' parameters with string keys.
Parameters
Query Parameters
includeSystem
Type
boolean
Default
trueafter
Type
string
before
Type
string
limit
Type
integer
Format
"int32"Default
50sortBy
Type
string
sortDirection
Type
string
Responses
OK
GET
/resources/iam/roles