Skip to main content
PUT
/
watchlists
/
{id}
Update a watchlist
curl --request PUT \
  --url https://lens-api.tic.io/watchlists/{id} \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "watchListName": "<string>",
  "watchListDescription": "<string>"
}
'
{
  "teamWatchListId": 123,
  "watchListGuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "watchListName": "<string>",
  "watchListDescription": "<string>",
  "numberOfCompanies": 123,
  "numberOfPersons": 123,
  "numberOfAddresses": 123,
  "numberOfProperties": 123,
  "numberOfVehicles": 123,
  "numberOfNotifications": 123,
  "numberOfSubscriptions": 123,
  "numberOfUnacknowledgedEvents": 123
}
Pro+ tier

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

Watchlist GUID

Body

watchListName
string
required
Required string length: 1 - 200
watchListDescription
null | string
Maximum string length: 1000

Response

Watchlist updated

teamWatchListId
integer<int32>
watchListGuid
string<uuid>
watchListName
null | string
watchListDescription
null | string
numberOfCompanies
integer<int32>
numberOfPersons
integer<int32>
numberOfAddresses
integer<int32>
numberOfProperties
integer<int32>
numberOfVehicles
integer<int32>
numberOfNotifications
integer<int32>
numberOfSubscriptions
integer<int32>
numberOfUnacknowledgedEvents
integer<int32>