hornet icon

hornet

Interact with hornet API

Actions452

Spam And Malware Protection → Filtering Environment Domain Id Post

AI-generated

Summary

Posts filtering environment settings for a given domain ID to the Hornet Security API, configuring spam and malware protection options.

Inputs

  • main (required) — Each incoming item triggers a separate API call; the item’s data is not used in the request.

Output shape

main

Returns the HTTP response from the Hornet API (typically a JSON object) for each request.

Examples

Example 1: Configure spam and malware protection for a domain.

Set domain_id to the target domain, provide APP‑ID header, and adjust any of the optional parameters (enabled, destination_server, dest_type, etc.) as needed.

Links

Discussion