RBAC Role
Retrieve RBAC role details
Retrieves the details of a specified Role-Based Access Control (RBAC) including the permissions and policies associated with the role. Include the ID of the role in the path to retrieve its details.
get/auth/roles/{id}
Request
- Base URL: https://infrahub-api.nexgencloud.com/v1
- URL: https://infrahub-api.nexgencloud.com/v1/auth/roles/{id}
- Auth: API key in header api_key
Path parameters
idinteger required
ID of the role.
Response
Success
Example response
{
"status": true,
"message": "Creating RBAC role success",
"role": {
"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.