Add watcher to Task

PATCH {{url}}/{{tenantName}}/{{instanceName}}/tasks/{{task_id}}/watchers

Example overview

The method allows you to subscribe the specified user to task update notifications. Method returns task with new watchers.

HTTP Request

Method: PATCH

Endpoint: {url}/{tenantName}/{instanceName}/tasks/{taskId}/watchers

in our example it would be: https://api.live.welkincloud.io/gh/sb-demo/tasks/28b38060-db66-4183-bcaa-34751308573a/watchers

Responses

CodeDescription
200OK
401Unauthorized
403Forbidden
404Not Found

Request Body

{"id"=>"20745195-bf3d-46af-9e74-db60c19b7e7b"}