A role is a group of permissions that can be granted. Permissions are a set of actions that can be applied to entities. For more information, see Roles.
Use to retrieve a list of roles.
Executed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
[- {- "name": "admin",
- "description": "can manage all resources",
- "permissions": [- {- "resourceType": "department",
- "displayName": "Projects",
- "groupId": "organization",
- "actions": [- "create"
 ]
 }
 ],
- "id": 32,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "tenantId": 1001,
- "createdBy": "user@run.ai"
 }
]Retrieve the details of a role by id.
Executed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "name": "admin",
- "description": "can manage all resources",
- "permissions": [- {- "resourceType": "department",
- "displayName": "Projects",
- "groupId": "organization",
- "actions": [- "create"
 ]
 }
 ],
- "id": 32,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "tenantId": 1001,
- "createdBy": "user@run.ai"
}