Threatdown (Malwarebytes) icon

Threatdown (Malwarebytes)

Interact with the ThreatDown Nebula API by Malwarebytes

Actions181

Accounts → Put Notifications Preferences

AI-generated

Summary

Updates an account's notification preferences in Threatdown (Malwarebytes) by sending a PUT request to /accounts/{accountId}/preferences/notifications, enabling or disabling the email, Slack, Teams and webhook channels.

Inputs

  • Account ID (required) — Path parameter identifying the account. Defaults to the accountId from the node credentials.
  • Body Fields — Collection of optional request body fields: Email, Slack, Teams and Webhook. Each is a string that defaults to "true" when added.
  • Additional JSON Body — Raw JSON object with extra body values. It is merged with the Body Fields. The source's merge helper suggests the JSON values override the Body Fields on conflicts, but this isn't confirmed.

Output shape

The API response for the PUT request, normalized into n8n output items. Usually this is the updated notification preferences or a confirmation object.

The source pack shows only function signatures, so the exact response shape and error handling aren't verified. The channel values are strings, not booleans, so check that the API accepts them.

Examples

Example 1: Turn off Slack and Teams notifications but keep email on for the credential's account.

Account ID left at the default. In Body Fields, add Email = true, Slack = false and Teams = false.

Example 2: Set the preferences from an earlier node's JSON.

Set Account ID explicitly. Set Additional JSON Body to an expression such as {{ JSON.stringify($json.prefs) }}.

Links

Discussion