Update a task
curl --request PUT \
--url https://local.casebender.com:3000/api/task/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"title": "<string>",
"description": "<string>",
"status": "<string>",
"mandatory": true,
"assigneeId": "<string>",
"flagged": true,
"dueDate": "<string>"
}'
{
"id": "<string>",
"title": "<string>",
"mandatory": true,
"description": "<string>",
"assigneeId": "<string>",
"flagged": true,
"dueDate": "<string>",
"status": "<string>",
"caseId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"createdById": "<string>"
}
curl --request PUT \
--url https://local.casebender.com:3000/api/task/{id} \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"title": "<string>",
"description": "<string>",
"status": "<string>",
"mandatory": true,
"assigneeId": "<string>",
"flagged": true,
"dueDate": "<string>"
}'
{
"id": "<string>",
"title": "<string>",
"mandatory": true,
"description": "<string>",
"assigneeId": "<string>",
"flagged": true,
"dueDate": "<string>",
"status": "<string>",
"caseId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"createdById": "<string>"
}