HackNotice icon

HackNotice

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

Actions85

Assessment Event → Invited — Delete Event

AI-generated

Summary

Deletes a single assessment event in invited context by sending DELETE to /assessmentevents/invited/:docId on the HackNotice extensions API.

Inputs

  • Document ID (required) — ID of the assessment event to delete. Trimmed and URL-encoded into the path; the node throws an error if empty.
  • Page Number — Shown in the UI but not used by this route (the path has no page segment).
  • Invite Code — Shown in the UI but not used by this route.
  • Request Body — Shown in the UI but ignored; DELETE requests are sent without a body.

Output shape

One or more n8n items built from the API's JSON response. An object response becomes one item and an array becomes one item per element. An empty response gives no items. A non-object response is wrapped as { value }. Each item is paired to its input item.

The response schema isn't defined in the node, so the returned fields depend on what the API sends back. Failures throw a NodeApiError, and a missing Document ID throws a NodeOperationError. Authentication uses the hackNoticeApi credential.

Examples

Example 1: Remove an assessment event whose ID came from an earlier step.

Resource: Assessment Event; Operation: Invited — Delete Event; Document ID: {{ $json.eventId }}

Links

Discussion