List Roles

Retrieve a list of roles in the organization. Can be filtered by asset to get organization-level roles (asset=null) or asset-specific roles (asset=<asset_uid>). Roles configure granular permissions to set specific permission levels for users and teams. Supports pagination, search, and ordering.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

UID of the organization

string

UID of the asset to filter roles. Use 'null' for organization-level roles or provide asset UID for asset-specific roles.

integer
Defaults to 1

Page number for pagination (starts from 1)

integer
Defaults to 10

Number of results per page

Search term to filter roles by name or description

string
enum
Defaults to -created_at

Field to order results by. Prefix with '-' for descending order. Available fields: name, created_at

Allowed:
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json