Annotation endpoints
API token endpoints
Dataset endpoints
Monitor endpoints
Notifier endpoints
Organization endpoints
Role-based access control endpoints
Starred queries endpoints
User endpoints
Role-based access control endpoints
List all roles
List all roles
Retrieves all roles in the organization with their associated permissions and members.
GET
/
rbac
/
roles
curl --request GET \
--url https://api.axiom.co/v2/rbac/roles \
--header 'Authorization: Bearer <token>'
[
{
"datasetCapabilities": {},
"description": "<string>",
"members": [
"<string>"
],
"name": "<string>",
"orgCapabilities": {
"annotations": [
"create"
],
"apiTokens": [
"create"
],
"auditLog": [
"read"
],
"billing": [
"read"
],
"dashboards": [
"create"
],
"datasets": [
"create"
],
"endpoints": [
"create"
],
"flows": [
"create"
],
"integrations": [
"create"
],
"monitors": [
"create"
],
"notifiers": [
"create"
],
"rbac": [
"create"
],
"sharedAccessKeys": [
"read"
],
"users": [
"create"
],
"views": [
"create"
]
},
"viewCapabilities": {},
"id": "<string>"
}
]
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Response
200 - application/json
A list of roles was successfully retrieved
The response is of type object[]
.
curl --request GET \
--url https://api.axiom.co/v2/rbac/roles \
--header 'Authorization: Bearer <token>'
[
{
"datasetCapabilities": {},
"description": "<string>",
"members": [
"<string>"
],
"name": "<string>",
"orgCapabilities": {
"annotations": [
"create"
],
"apiTokens": [
"create"
],
"auditLog": [
"read"
],
"billing": [
"read"
],
"dashboards": [
"create"
],
"datasets": [
"create"
],
"endpoints": [
"create"
],
"flows": [
"create"
],
"integrations": [
"create"
],
"monitors": [
"create"
],
"notifiers": [
"create"
],
"rbac": [
"create"
],
"sharedAccessKeys": [
"read"
],
"users": [
"create"
],
"views": [
"create"
]
},
"viewCapabilities": {},
"id": "<string>"
}
]