Update Monitored Identities
Allows you to update an existing monitored identity with new or updated information. For example, you may wish to add additional emails to be monitored, or remove a credit card from monitoring. It is not necessary to resubmit the entire identity; fields which are not present in the PUT body will not get updated. If an array value (such as emails) is specified, it will replace the entire contents of the array. So if the existing monitored identity's emails array contained ["[email protected]", "[email protected]"] and the emails array value in the PUT contained ["[email protected]"], the new stored array on the monitored identity would be ["[email protected]"].
PUT /v1/identity-monitoring HTTP/1.1
Host: api.enzoic.com
Authorization: Bearer Base64(your_api_key:your_api_secret)
Content-Type: application/json
Accept: */*
Content-Length: 750
{
"monitoredIdentities": [
{
"tag": "56d6d566-82e6-426c-ae47-528a0fb64808",
"id": "641c73ef1d909615a63b4d75",
"firstName": "John",
"lastName": "Doe",
"country": "US",
"address1": "1234 Main St",
"address2": "Suite 100",
"city": "New York",
"province": "NY",
"postalCode": 12345,
"governmentID": {
"country": "US",
"value": "123-12-1234"
},
"emails": [
"[email protected]"
],
"phoneNumbers": [
{
"country": "text",
"value": "text"
}
],
"creditCards": [
"4111-1111-1111-1111"
],
"cryptocurrencyWallets": [
"34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo"
],
"urls": [
"https://www.enzoic.com"
],
"ip4Addresses": [
"134.88.23.1"
],
"ip6Addresses": [
"2001:0db8:85a3:0000:0000:8a2e:0370:7334"
],
"secondaryMatchItems": [
{
"description": "Bank of America Checking Account",
"value": 90082323215
}
],
"webhookID": "66766957431c9acc8cea2d6d"
}
]
}
The call was successful. The monitored identities have been updated with the new information.
{
"updated": 1,
"notFound": 0
}
Last updated
Was this helpful?