POST
/
api
/
v2
/
tasks
/
{taskId}
Update a task
curl --request POST \
  --url https://api.vida.dev/api/v2/tasks/{taskId} \
  --header 'Content-Type: application/json' \
  --data '{
  "state": "canceled",
  "context": "New context",
  "waitToGreet": true
}'

Path Parameters

taskId
string
required

Task ID

Body

application/json
state
string
Example:

"canceled"

context
string
Example:

"New context"

waitToGreet
boolean
Example:

true

Response

Task updated successfully