Skip to main content
PATCH
Update a dataset label by ID

Path Parameters

label_id
string
required

The ID of the dataset label

Body

application/json

Fields to update on a dataset label. Omit a field to leave it unchanged.

name
string | null

New name for the label (null is rejected; name is required)

Minimum string length: 1
color
string | null

A lowercase six-digit hex color code (e.g. '#00cc88')

Pattern: ^#([0-9a-f]{6})$
description
string | null

New description for the label (null clears the description)

Response

Successful Response

data
DatasetLabel · object
required