Skip to main content
POST
Create a workspace label with a hex color or color token name

Authorizations

Authorization
string
header
required

Opaque user-bound ca_ account credential. Each request checks live account scopes, verified email, expiry, revocation and the issuer session. Not a workspace ck_ key or OAuth access token.

Path Parameters

workspaceId
string
required
Minimum string length: 1

Body

application/json
name
string
required
Required string length: 1 - 40
color
string
required
Required string length: 1 - 30
Pattern: ^#[0-9a-fA-F]{6}$|^[a-z][a-z0-9-]*$

Response

Create a workspace label with a hex color or color token name

name
string
required
Required string length: 1 - 40
color
string
required
Required string length: 1 - 30
Pattern: ^#[0-9a-fA-F]{6}$|^[a-z][a-z0-9-]*$
id
string
required
Minimum string length: 1
workspaceId
string
required
Minimum string length: 1