OpenapiRole definitions
Update a role
Update role definition name and description. Requires `roles.manage` permission.
PUT
Update role definition name and description. Requires roles.manage permission.
bearer_authheader
AuthorizationBearer <token>roleId*stringRole ID
Format
uuidapplication/json- body
description?string|nullname*stringRole updated
application/json- response
clientId*stringdescription?string|nullid*stringFormat
uuidisBuiltin*booleanname*stringrealmId*stringcurl -X PUT 'https://example.com/api/roles/define/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'Content-Type: application/json' \
-d '{
"name": "string"
}'Example Response
{
"clientId": "string",
"description": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"isBuiltin": true,
"name": "string",
"realmId": "string"
}