Update role
Replaces a custom role's name, description, and capabilities. Capabilities you omit are removed, and the members field is ignored. Requires an Enterprise plan or the RBAC add-on.
Parameters
| Property | Type | Location | Description |
|---|---|---|---|
id | stringRequired | path | Unique identifier of the role to update |
Body
Defines a role and its associated permissions within the system
application/json| 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 |
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 updated role.400Bad Request403Forbidden404Not Found