roles
Create a new role
Create a new role with name, hierarchy priority, and optional minimum topup
post/roles
Request
- Base URLhttps://api.tonewow.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.tonewow.com/roles
- Authnone declared
Request body
Example request
{
"role_name": "admin",
"hierarchy_priority": 1,
"min_topup": 100
}Response
Role created successfully
Example response
{
"role_id": 1,
"role_name": "admin",
"hierarchy_priority": 1,
"min_topup": 100
}Changes
No recorded changes to this operation across all 6 revisions of this API.