Skip to main content
POST
Create a Role

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Body

application/json

The role to create.

displayName
string
required
Example:

"Custom Editor"

name
string
required
Example:

"custom-editor"

description
string
Example:

"A custom editor role"

Response

Created

createdAt
string
Example:

"2026-06-24T10:00:00Z"

description
string
Example:

"A custom editor role"

groups
string[]
id
string
Example:

"custom-editor"

isEnabled
boolean
Example:

true

isSystem
boolean
Example:

false

name
string
Example:

"Custom Editor"

roles
string[]
users
string[]