HackNotice icon

HackNotice

Call the HackNotice extensions API (alerts, assessments, and more)

Actions85

Third Party Watchlist → Delete by ID

AI-generated

Summary

Deletes a single third-party watchlist domain from HackNotice by its document ID, via an authenticated DELETE to /hackwatchlist/{id}.

Inputs

  • Watchlist ID (required) — Document ID of the third-party watchlist entry to delete. Trimmed and URL-encoded into the request path. An empty value throws a 'Watchlist ID is required' error. You can get IDs from the Get Watchlist Domains or Search Domain operations.

Output shape

One or more items with the API's response, each paired to the input item. A JSON object response becomes one item. An array response becomes one item per element. A non-JSON string response is wrapped as { value: }.

The source doesn't define the HackNotice API's delete response body, so the exact fields are unknown. An empty response may return no items. Errors are raised as NodeApiError (or NodeOperationError for a missing ID). The node has no continue-on-fail handling in its code, so a failure stops execution.

Examples

Example 1: Remove a domain after looking it up by name

Run Search Domain first, then pass the returned document _id (for example {{ $json._id }}) into Watchlist ID on a Delete by ID node.

Example 2: Delete a known watchlist entry

Resource: Third Party Watchlist; Operation: Delete by ID; Watchlist ID: the entry's document ID.

Links

Discussion