Authorization: Bearer ********************
curl --location --request GET 'https://apidev.edufee.online/api/roles'
{
"errors": null,
"message": "Success",
"status_code": 200,
"payload": {
"data": [
{
"id": 4,
"name": "accountant",
"guard_name": "api",
"created_at": "2025-05-07T07:13:22.000000Z",
"updated_at": "2025-05-07T07:13:22.000000Z",
"permissions": [
{
"id": 133,
"name": "general.config.index",
"guard_name": "api",
"created_at": "2025-05-05T05:35:40.000000Z",
"updated_at": "2025-05-06T07:31:45.000000Z",
"category": "Mastser Settings",
"sub_category": "General Comfiguration",
"child_category": null,
"show_name": "View General Config",
"pivot": {
"role_id": 4,
"permission_id": 133
}
},
{
"id": 134,
"name": "general.config.edit",
"guard_name": "api",
"created_at": "2025-05-05T05:35:40.000000Z",
"updated_at": "2025-05-06T07:31:45.000000Z",
"category": "Mastser Settings",
"sub_category": "General Comfiguration",
"child_category": null,
"show_name": "Edit General Config",
"pivot": {
"role_id": 4,
"permission_id": 134
}
},
{
"id": 135,
"name": "general.config.update",
"guard_name": "api",
"created_at": "2025-05-05T05:35:40.000000Z",
"updated_at": "2025-05-06T07:31:45.000000Z",
"category": "Mastser Settings",
"sub_category": "General Comfiguration",
"child_category": null,
"show_name": "Update General Config",
"pivot": {
"role_id": 4,
"permission_id": 135
}
}
]
}
]
}
}