Skip to main content
PATCH
/
v1
/
tasks
/
reorder
Reorder tasks
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"
    }
  ]
}
'

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json
updates
object[]
required

Response

Tasks reordered successfully