Retrieve role
Retrieves a custom role by ID with its capabilities and the IDs of users assigned the role directly. Built-in role IDs such as axiom-admin return 404.
Parameters
| Property | Type | Location | Description |
|---|---|---|---|
id | stringRequired | path | Unique identifier of the role to retrieve |
Request
Try itRun this request against your Axiom organization
Credentials stay in this browser tab and are only sent to Axiom when you run the request.
Response
200The role.404Not Found| Property | Type | Description |
|---|---|---|
dataset | object | Defines the available permissions for dataset operations |
description | string | Detailed description of the role's purpose and scope |
members | string[] | IDs of users assigned this role directly. Returned in responses and ignored in requests. To assign a role to a user, use the Update user role endpoint. |
name | stringRequired | Unique name identifier for the role |
org | object | Defines organization-wide permissions and capabilities |
annotations | string[] | Controls the management of annotations across the organization |
api | string[] | Controls the management of API tokens for authentication |
audit | string[] | Controls access to organization audit logs |
billing | string[] | Controls access to billing information and settings |
dashboards | string[] | Controls the management of organization dashboards |
datasets | string[] | Controls the management of organization datasets |
endpoints | string[] | Controls the management of API endpoints |
integrations | string[] | Controls the management of third-party integrations |
labels | string[] | Controls the management of labels |
monitors | string[] | Controls the management of monitoring |
notifiers | string[] | Controls the management of notification settings |
rbac | string[] | Controls access to role-based access control settings |
shared | string[] | Controls the management of shared access keys |
users | string[] | Controls user management within the organization |
views | string[] | Controls the management of data views |
view | object | Defines the available permissions for view operations |
id | stringRequired | Unique identifier for the role |