Saltar al contenido principal
PATCH
Update a Role

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

id
string
requerido

Role ID.

Ejemplo:

"midaz-editor"

Cuerpo

application/json

The role members to update.

description
string
Ejemplo:

"An updated description"

displayName
string
Ejemplo:

"Updated Editor"

isEnabled
boolean
Ejemplo:

true

Respuesta

OK

createdAt
string
Ejemplo:

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

description
string
Ejemplo:

"A custom editor role"

groups
string[]
id
string
Ejemplo:

"custom-editor"

isEnabled
boolean
Ejemplo:

true

isSystem
boolean
Ejemplo:

false

name
string
Ejemplo:

"Custom Editor"

roles
string[]
users
string[]