Updates a task identified by its ID.
Request
Body Params application/json
{
"title": "Ttile",
"type": 1,
"userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
"categoryId": 5,
"content": "Task content",
"address": "",
"comments": "Comments",
"datetime": "2025-06-18T22:00:00.000Z"
}
Request Code Samples
curl --location --request PUT 'https://admin.letschat.ch/api/tasks/01JQBJN25168F76M1MAKXZW7T9' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "Ttile",
"type": 1,
"userId": "01JMYS0F68GJ1NRNMV32VG38Y8",
"categoryId": 5,
"content": "Task content",
"address": "",
"comments": "Comments",
"datetime": "2025-06-18T22:00:00.000Z"
}'
Responses
application/json Modified at 2025-03-27 11:36:55