PUT
/
api
/
v1
/
tasks
/
{task_id}
/
watchers
curl --request PUT \
  --url https://api.byblend.com/api/v1/tasks/{task_id}/watchers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "id": "s9da981s-9107-4c81-b3f3-562e9e9034b7"
  }
]'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string
required

Unique identifier for the task (UUID).

Example:

"98cae3a3-996c-4bf5-9143-0ab6d98bc1d0"

Body

application/json · object[]

Array of user IDs to be added as watchers to the task

The body is of type object[].

Response

200

Task watchers updated successfully