Remove an Identity from Monitoring

Delete monitored identities

Allows you to delete alert subscriptions for one or more individual identities.

DELETEhttps://api.enzoic.com/v1/identity-monitoring
Authorization
Body
tagsarray of string

An array of tags for the identities to stop monitoring

idsarray of string

An array of Enzoic IDs for the identities to stop monitoring. These are the id field values which are returned as part of the response object when the /monitored-identities GET endpoint is called.

Response

The call was successful. The provided identities will no longer be monitored.

Body
deletedinteger

The number of monitored identities deleted.

Example: 1
notFoundinteger

The number of provided identities which were not found in the monitored identities table.

Example: 0
Request
const response = await fetch('https://api.enzoic.com/v1/identity-monitoring', {
    method: 'DELETE',
    headers: {
      "Authorization": "basic <token>",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "deleted": 1,
  "notFound": 0
}

Last updated