Authorization: ********************curl --location --request GET 'https://test.your-api-server.com/v2/auth/roles/admin' \
--header 'Authorization: Bearer <token>'{
"_id": "string",
"name": "string",
"description": "string",
"menu": [
{
"_id": "string",
"link": "main.dashboard",
"name": "Dashboard",
"icon": "pi pi-home",
"menuFather": "string",
"actions": [
"R",
"W"
],
"state": true,
"order": 0,
"children": [
{}
]
}
],
"permissions": [
{
"module": "scheduling",
"actions": [
"R"
]
}
],
"state": true
}