Update role

Update a custom role. System roles cannot be updated. Use to modify permissions or metadata.

Path Parameters

ParameterTypeRequiredDescription
idUUIDYesRole identifier

Request Body

FieldTypeRequiredDescription
displayNamestringNoHuman-readable display name (1-100 chars)
descriptionstringNoRole description (max 500 chars)
permissionsarray of stringNoArray of permission IDs (min 1 item if provided)

Use Cases

  • Add or remove permissions from custom role
  • Update role name or description
  • Adjust role for changing requirements

Required Permission

roles:update