- Operation Portal
- Auth
- Role and Permission
- Global data
- Merchant
- wallet
- Common API
- Device Map
- Back office
- Auth
- Institute
- Payments
- admission
- Global data
- Modules/submodules/features
- Packages
- General Config
- Institute Portal
- Auth
- Fees Management
- HR Management
- Student Management
- Master Settings
- Role and Permission
- Open Portal
- Admission
- Common API
- SMS
- Subject Config
- Shared API
- Admission User Portal
- SPG Server end test
- Public Api
- Payment Portal
- Dont Exec
index
Developing
GET
/api/roles
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apidev.edufee.online/api/roles'
Responses
🟢200OK
application/json
Body
object {0}
Example
{
"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
}
}
]
}
]
}
}