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"
}
Updates an existing trigger
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"
}
The payload
The body is of type object
.
OK
The response is of type object
.