Pular para o conteúdo principal
POST
Create a Role

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Corpo

application/json

The role to create.

displayName
string
obrigatório
Exemplo:

"Custom Editor"

name
string
obrigatório
Exemplo:

"custom-editor"

description
string
Exemplo:

"A custom editor role"

Resposta

Created

createdAt
string
Exemplo:

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

description
string
Exemplo:

"A custom editor role"

groups
string[]
id
string
Exemplo:

"custom-editor"

isEnabled
boolean
Exemplo:

true

isSystem
boolean
Exemplo:

false

name
string
Exemplo:

"Custom Editor"

roles
string[]
users
string[]