PUT
/
watchlists
/
{watchListId}
/
triggers
/
{triggerId}
curl --request PUT \
  --url https://api.tic.io/watchlists/{watchListId}/triggers/{triggerId} \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "destination": "<string>",
  "destinationType": "webhook"
}'
{
  "teamWatchListTriggerId": 123,
  "destination": "<string>",
  "destinationType": "webhook",
  "hasBeenValidated": true,
  "lastMessageSentAtUtc": "2023-11-07T05:31:56Z",
  "lastUpdatedAtUtc": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Path Parameters

watchListId
integer
required

The watchlist id

triggerId
integer
required

The trigger id

Body

The payload

The body is of type object.

Response

200
application/json

OK

The response is of type object.