Skip to main content
POST
/
api
/
v2
/
tasks
/
{taskId}
/
state
Update task state
curl --request POST \
  --url https://api.example.com/api/v2/tasks/{taskId}/state \
  --header 'Content-Type: application/json' \
  --data '
{
  "key": "<string>",
  "value": "<unknown>"
}
'
{
  "success": true
}

Path Parameters

taskId
string
required

The unique identifier of the task to update the state of.

Body

application/json
key
string
required
value
any

Response

Default Response

success
boolean
required