Plot HomeDocumentation
Tasks

Create Task Label

Creates a new task label for a team

POST
/v1/tasks/labels

Creates a new task label for a team

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/tasks/labels" \  -H "Content-Type: application/json" \  -d '{    "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",    "name": "string",    "color": "icon-secondary"  }'
{  "id": "string",  "color": "icon-secondary",  "name": "string"}