roles
get/roles/{id}
Path parameters
idinteger required
id of the role
Response
role
Example response
{
"message": "ok",
"data": {
"id": 1,
"name": "Admin",
"description": "Administrator with full access to the system."
}
}id of the role
role
{
"message": "ok",
"data": {
"id": 1,
"name": "Admin",
"description": "Administrator with full access to the system."
}
}