HackNotice icon

HackNotice

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

Actions85

Assessment Data File (Invited) → Delete File (Invited)

AI-generated

Summary

Deletes an invited assessment data file from HackNotice by document ID, using DELETE /assessmentdatafiles/invited/:docId.

Inputs

  • Document ID (required) — Mongo-style ID of the invited data file to delete. It is trimmed, URL-encoded and placed in the path. The node throws an error if it is empty.
  • Page Number — Shown in the UI but not used by this operation, because the path has no page segment.
  • Invite Code — Shown in the UI but not used by this operation.
  • Request Body — Shown in the UI but ignored. DELETE requests are sent without a body.

Output shape

One or more items built from the API's JSON response, each paired to the input item. A non-object response is wrapped as { value }, and an empty response gives no items.

The response schema isn't defined in the source, so the exact fields depend on the HackNotice API. Request errors are raised as NodeApiError. Authentication uses the hackNoticeApi credential.

Examples

Example 1: Remove an uploaded file after it has been processed.

Resource: Assessment Data File (Invited); Operation: Delete File (Invited); Document ID: {{ $json.fileId }}

Links

Discussion