v1

latestOpenAPI 3.1.0Serval License2026-07-26202952779.1 KB
Entity Type API

Update Entity Type

Update an entity type's name, color, icon, or help-agent visibility. Omitted optional fields are left unchanged.

put/v2/entity-types/{id}

Path parameters

idstring required

The ID of the entity type to update.

Request body

namestring

The display name of the entity type (required).

colorstring nullable

Hex color for the entity type's icon. Omit to leave unchanged.

iconSlugstring nullable

The Lucide icon slug for the entity type. Omit to leave unchanged.

helpAgentVisibility'HELP_AGENT_ENTITY_VISIBILITY_UNSPECIFIED' | 'HELP_AGENT_ENTITY_VISIBILITY_NONE' | 'HELP_AGENT_ENTITY_VISIBILITY_REQUESTER_ASSOCIATED' | 'HELP_AGENT_ENTITY_VISIBILITY_ALWAYS'

Response

Success