v1
latestOpenAPI 3.0.02026-07-17493090.2 KBRoles
Permissions
RBAC
Authorization
Add a role
This endpoint can be used to add a new role to the Splinter Role-based authorization system. The role must conform to the role schema and have unique "role_id" value.
This endpoint requires the permission "authorization.rbac.write".
post/authorization/roles
Headers
Authorizationstring required
The client's authorization, which the server resolves to an identity. Currently supports Biome JWT (if Biome credentials is enabled), Cylinder JWT, and OAuth2 bearer tokens.
SplinterProtocolVersioninteger
Example:2
The protocol version which the client can understand. If not provided, the node will respond using its latest protocol version.
Request body
Example request
{
"role_id": "circuit-administrator",
"display_name": "Circuit Administrator"
}Response
The role was successfully added