Skip to main content
GET
Get a custom role
🔒 Admin only. Requires administrator privileges — the authenticated principal (API key, embed JWT, or any bearer token) must belong to a user with the admin role. Returns one custom role by id, with its policies.

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

roleId
number
required

Response

id
integer
required
name
string
required
policies
object[]
required
description
string | null