curl --request PATCH \
--url http://localhost:3333/v1/tasks/reorder \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"updates": [
{
"id": "<string>",
"order": 123,
"status": "todo"
}
]
}
'Update the order and status for multiple tasks (drag & drop)
curl --request PATCH \
--url http://localhost:3333/v1/tasks/reorder \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"updates": [
{
"id": "<string>",
"order": 123,
"status": "todo"
}
]
}
'Was this page helpful?