curl --request GET \
--url https://demo.enneo.ai/api/mind/roles/{id} \
--header 'Authorization: Bearer <token>'{
"name": "Admin",
"description": "Handles administrative tasks",
"baseRoleId": 1,
"permissions": [
{
"label": "AI agent permisions",
"description": "<string>",
"permissions": [
{
"name": "createAiAgent",
"label": "Create AI agent",
"value": true
}
]
}
]
}JWT-based authentication
Successful operation
The name of the role
"Admin"
The description of the role
"Handles administrative tasks"
The ID of the base role
1
Permissions for this role. When reading: returns grouped permissions with labels. When writing: accepts array of permission names
Show child attributes
The label of the permission group
"AI agent permisions"
The description of the permission group
curl --request GET \
--url https://demo.enneo.ai/api/mind/roles/{id} \
--header 'Authorization: Bearer <token>'{
"name": "Admin",
"description": "Handles administrative tasks",
"baseRoleId": 1,
"permissions": [
{
"label": "AI agent permisions",
"description": "<string>",
"permissions": [
{
"name": "createAiAgent",
"label": "Create AI agent",
"value": true
}
]
}
]
}