Skip to content
Pile
Esc
navigateopen⌘Jpreview

Create label

POST/workspaces/{organizationId}/labels
Path parameters
organizationIdstringrequired
Request body
application/json
namestringrequired
min length 1
colorstring
Responses
201Label created
idstringrequired
organizationIdstringrequired
namestringrequired
colorstring | nullrequired
createdAtstringrequired
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST "/workspaces/string/labels" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "color": "string"
}'
Response
{
  "id": "string",
  "organizationId": "string",
  "name": "string",
  "color": "string",
  "createdAt": "string"
}