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