curl --request PUT \
--url https://cloud.kaneo.app/api/label/{id}/task \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"taskId": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"taskId": "<string>",
"workspaceId": "<string>"
}Attach an existing label to a task
curl --request PUT \
--url https://cloud.kaneo.app/api/label/{id}/task \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"taskId": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"color": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"taskId": "<string>",
"workspaceId": "<string>"
}Bearer token authentication
Was this page helpful?