Kaneo Logo
Labels

Create Label

Create a new label in a workspace

POST
/label

Authorization

bearerAuth
AuthorizationBearer <token>

API Key authentication

In: header

Request Body

application/json

name*string
color*string
workspaceId*string
taskId?string

Response Body

application/json

curl -X POST "https://cloud.kaneo.app/api/label" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "color": "string",    "workspaceId": "string"  }'
{
  "id": "string",
  "name": "string",
  "color": "string",
  "createdAt": null,
  "taskId": "string",
  "workspaceId": "string"
}