RBAC Role
List RBAC roles
Returns a list of existing Role-Based Access Control (RBAC) roles that can be assigned to users, granting them permissions and policies associated with the role, enabling them to execute specific resource actions.
get/auth/roles
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/auth/roles
- Auth: API key in header api_key
Response
Success
Example response
{
"status": true,
"message": "Getting RBAC roles success",
"roles": [
{
"id": 7613,
"name": "example-role",
"description": "example",
"created_at": "2026-05-06T15:18:42Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.