hornet icon

hornet

Interact with hornet API

Actions452

ATP Subscription → Atp Subscriptions Atp Notification Emails Delete

AI-generated

Summary

Delete ATP subscription notification emails for a specified customer object, either deleting specific emails with alert types or all notification emails.

Inputs

  • Object Id (required) — Identifier of the customer object whose ATP subscription notification emails will be deleted.
  • Email — The specific email address to delete from the ATP notification emails.
  • Real Time Alert — Flag indicating if the specified email receives real time ATP alerts; used when deleting specific notification emails.
  • Ex Post Alert — Flag indicating if the specified email receives ex-post ATP alerts; used when deleting specific notification emails.
  • All — Set to true to delete all ATP notification emails for the specified object. Defaults to true.
  • APP ID (required) — Unique application identifier issued by hornetsecurity required in the request header.

Output shape

a single response indicating success or failure of the deletion request

The operation sends an HTTP request to the Hornet API with query parameters representing the inputs. If 'All' is true, all notification emails for the customer are deleted, otherwise filters apply based on 'Email' and alert flags. No pagination or additional data is returned.

Examples

Example 1: Delete all ATP notification emails for a customer.

Set Object Id to target customer, set All to true (default), omit Email and alert flags.

Example 2: Delete a specific email from real-time alerts.

Set Object Id, set Email to the target address, Real Time Alert to true, Ex Post Alert false, All to false.

Links

Discussion