Retrieve an Existing Role
Developing
To show information about an spesific role.
Request Code Samples
curl --location --request GET 'https://sims.sman1samarinda.sch.id/api/roles/0afadfbfbd300ef5847e4eb4'
Responses
application/json {
"success": true,
"message": "string",
"meta": {
"page": 0,
"limit": 0,
"total": 0
},
"errors": [
{
"code": "string",
"field": "string",
"message": "string"
}
],
"result": {
"id": "string",
"name": "string",
"icon": "string",
"color": "string",
"permissions": [
"string"
],
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"users": [
{
"id": "string",
"name": "string"
}
]
}
}
Modified at 2025-11-29 03:27:58