Skip to Content
Tasks

Create Task Label

Toegang

Lid van de organisatie met dit recht:

  • tasks:manage

Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.

POST
/orgs/{organizationId}/task-labels

Creates a task label.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
name*string
Length1 <= length
description?string|null
color*string
Value in"blue""sky""cyan""teal""emerald""green""lime""yellow""amber""orange""red""rose""pink""fuchsia""purple""violet""indigo""slate""gray""stone"
targetDays?|null

Response Body

OK

application/json
  1. response
Example Request
curl -X POST 'https://api.tillor.eu/orgs//task-labels' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "color": "blue"}'
Example Response
null