roles
Update a role
Update role details (name, hierarchy priority, min_topup)
put/roles/{id}
Path parameters
idnumber required
Example:1
Role ID
Request body
Example request
{
"role_name": "admin",
"hierarchy_priority": 1,
"min_topup": 100
}Response
Role updated successfully
Example response
{
"role_id": 1,
"role_name": "admin",
"hierarchy_priority": 1,
"min_topup": 100
}Changes
No recorded changes to this endpoint across all 1 revision of this API.