hornet icon

hornet

Interact with hornet API

Actions452

Environments → Environments Env Id Delete

AI-generated

Summary

Deletes an environment by ID.

Inputs

  • Env Id (required) — Identifier of the environment to delete.
  • Object Id (required) — ID of an object (user, customer, or partner). Sent as the object_id query parameter.
  • APP ID (required) — App-specific identifier issued by Hornet Security. Sent in the APP-ID header.
  • Request Options — Optional settings: batching, ignore SSL issues, proxy, and timeout.

Output shape

json

Returns the API response for the delete request, or an error if the request fails.

Examples

Example 1: This operation is used to delete an environment from the Hornet Security API. Set the environment ID, the object ID (user, customer, or partner), and your app ID, then run the node. Enable batching if processing many input items to avoid overwhelming the API.

Deletes the environment identified by Env Id. All primary inputs are required: Env Id, Object Id, and APP ID. Object Id is sent as the object_id query parameter; APP ID is sent as the APP-ID header. The hornetApi credential is required and requests go to https://cp.hornetsecurity.com/api/v0. The optional Request Options can enable batching, ignore SSL issues, set a proxy, or set a timeout. The API response is passed through as the node output.

Links

Discussion