Skip to main content
POST
/
api
/
v1
/
tasks
/
{taskId}
/
move
Move a task to a different date
curl --request POST \
  --url https://znift.com/api/v1/tasks/{taskId}/move \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "newDate": "2023-12-25"
}
'
{
  "success": true
}

Authorizations

x-api-key
string
header
required

API key with znift_ prefix. Create one in Profile > API Keys.

Path Parameters

taskId
string
required

Task ID

Body

application/json
newDate
string<date>
required

Target date (YYYY-MM-DD)

Response

Move a task to a different date successful

success
boolean