Skip to content

Update custom object settings

POST/v1/objects/{entitySlug}/settings

Updates display labels, description, and icon for an active custom object type. Omitted fields remain unchanged. Set labelPlural, description, or icon to null to clear them. The slug is immutable. Missing, system, and archived object types return 404.

Required scope: config:update

Rate limit category: Write

Path ParametersExpand Collapse
entitySlug: string

Slug of the custom object type.

Body ParametersJSONExpand Collapse
description: optional string

Description of the custom object type, or null.

icon: optional "Add" or "Agent" or "AlarmClock" or 64 more

Display icon, or null to use the default.

One of the following:
"Add"
"Agent"
"AlarmClock"
"Archive"
"Attachment"
"Bell"
"Book"
"Briefcase"
"Calendar"
"CameraOutline"
"ChartArea"
"ChartLine"
"ChartPie"
"Checkmark"
"ChevronRightDouble"
"CircleAdd"
"Clock"
"Code"
"Command"
"Competitors"
"Compose"
"CreditCard"
"DealValue"
"DeviceDesktop"
"Dice"
"Document"
"Download"
"Draggable"
"EmployeeBadge"
"EngagementAnalyticsAlt"
"Enrich"
"Folder"
"Funding"
"Grid"
"Hashtag"
"Help"
"Key"
"Keyboard"
"LightBulb"
"Link"
"Mail"
"MicrophoneOutline"
"Money"
"Moon"
"MultiplePagesPortrait"
"OpenQuote"
"PageLandscape"
"Paperplane"
"People"
"Phone"
"Preferences"
"Search"
"Shapes"
"Sparkle"
"SquareStack"
"Star"
"Suggestions"
"Sun"
"Table"
"TableColumn"
"Tag"
"Teams"
"ThreeDCube"
"ThreeDStack"
"VideoAlt"
"View"
"Waveform"
labelPlural: optional string

Plural display label, or null.

labelSingular: optional string

Singular display label.

ReturnsExpand Collapse
ObjectUpdateSettingsResponse object { id, archived, archivedAt, 7 more }
id: string

Stable public ID of the custom object definition.

archived: boolean

Whether this custom object type is archived.

archivedAt: string

ISO 8601 archive timestamp, or null when active.

createdAt: string

ISO 8601 creation timestamp.

description: string

Description of the custom object type, or null.

icon: string

Display icon, or null when no icon is configured.

labelPlural: string

Plural display label, or null.

labelSingular: string

Singular display label.

slug: string

Custom object slug used in API paths.

updatedAt: string

ISO 8601 last-update timestamp.

Update custom object settings

curl https://api.lightfield.app/v1/objects/$ENTITY_SLUG/settings \
    -H 'Content-Type: application/json' \
    -H 'Lightfield-Version: 2026-03-01' \
    -H "Authorization: Bearer $API_KEY" \
    -d '{}'
{
  "id": "id",
  "archived": true,
  "archivedAt": "archivedAt",
  "createdAt": "createdAt",
  "description": "description",
  "icon": "icon",
  "labelPlural": "labelPlural",
  "labelSingular": "labelSingular",
  "slug": "slug",
  "updatedAt": "updatedAt"
}
Returns Examples
{
  "id": "id",
  "archived": true,
  "archivedAt": "archivedAt",
  "createdAt": "createdAt",
  "description": "description",
  "icon": "icon",
  "labelPlural": "labelPlural",
  "labelSingular": "labelSingular",
  "slug": "slug",
  "updatedAt": "updatedAt"
}