Skip to main content
PATCH
Update a label

Authorizations

Authorization
string
header
required

A project API key, created in the dashboard.

Path Parameters

label
string
required

ID of the label.

Body

application/json
name
string

Unique within the agent, ignoring case. Repeated spaces are collapsed.

Required string length: 1 - 120
description
string | null
Maximum string length: 500
color
string

A hex color, stored in uppercase.

Pattern: ^#[0-9A-Fa-f]{6}$
Example:

"#3B82F6"

Response

The updated label.

object
any
required
id
string
required
Example:

"k3x9q2m7"

agent
object
required

The agent this belongs to.

name
string
required
Example:

"Refund request"

description
string | null
required
color
string
required
Pattern: ^#[0-9A-F]{6}$
Example:

"#3B82F6"

created_at
string<date-time> | null
required
updated_at
string<date-time> | null
required