hornet icon

hornet

Interact with hornet API

Actions452

Service Dashboard → Service Dashboard Customers Target Id Delete

AI-generated

Summary

Delete a customer by its Target Id via the hornet Service Dashboard API.

Inputs

  • target_id (required) — object_id of the customer to delete (numeric). Used as a path parameter in the DELETE request to the Service Dashboard endpoint for a customer. Defaults to 0 if not set, but the field is marked required so a value must be supplied in the workflow, even if it is the default.
  • APP-ID (required) — Application identifier that must be sent as the HTTP header APP‑ID. The value is taken directly from this parameter and injected into the request headers. Defaults to an empty string but is required, so the workflow author must provide a non‑empty value for the call to succeed.
  • requestOptions — A collection of optional request‑level settings that modify how the HTTP call is performed. When present the sub‑options are merged into the request configuration used by the underlying n8n HTTP request node.

Output shape

The operation returns whatever the hornet API responds with for a successful DELETE – typically a JSON payload confirming the deletion (e.g. { success: true, message: 'Customer removed' }) or an error object if the request fails. The response is passed unchanged to the workflow’s output data.

Because the node is generated from an OpenAPI specification, the exact shape of the response follows the API definition for the Service Dashboard Customers Target Id Delete endpoint. No additional transformation is performed by the node.

Examples

Example 1: Remove a test customer whose internal ID is 12345.

Set Target Id to 12345, provide your APP‑ID value, leave request options at their defaults (or adjust timeout/proxy if needed). The node will issue a DELETE request to https://cp.hornetsecurity.com/api/v0/customers/12345 with the APP‑ID header and return the API’s response.

Links

Discussion