Skip to content

Watch Task Instance

Add or remove the current user as a watcher on a task instance. Requires READ or ADMIN permissions.

Parameters

name * are required parametersdata typedescription
instanceId*stringThe unique identifier of the task instance
body.watch*booleantrue to subscribe, false to unsubscribe

Return Value

The updated watcher state for the task instance.

Examples

bash
curl -X PUT "https://app.wombat.software/api/{targetPath}/task/:instanceId/watch" \
  -H "Content-Type: application/json" \
  -H "Authentication: Bearer ..." \
  -d '{"watch": true}'

ENDPOINTS

put/api/{targetPath}/task/:instanceId/watch