Actions181
- Account Actions
- Accounts Actions
- App Block Actions
- Assets Actions
- Content Filtering Actions
- Create Content Filtering Rule
- Create Update DNS Settings
- Delete Content Filtering Rule
- Enable Disable Content Filtering Rule
- Enable Disable Content Filtering Rule For Policy
- Get A Content Filtering Rule Details
- Get A List Of Content Filtering Rules
- Get DNS Settings
- Get Domain Details
- Get Frequently Used Domain Names
- Get List Of Policies
- Update Content Filtering Rule
- CVE Actions
- Detections Actions
- Device Control Actions
- DNS Actions
- Endpoints Actions
- All Suspicious Activity Of An Endpoint
- Close Suspicious Activity Of An Endpoint
- Delete A Machine
- Delete Multiple Machines
- Endpoint Status
- Export Endpoints
- Get A Scan Of An Endpoint
- Get Endpoint
- Get Endpoint Agent Info
- Get Endpoint Assets
- Get Quarantined Items
- Get Scans Of An Endpoint
- Get The Detections Of A Scan
- Network Information
- Open Suspicious Activity Of An Endpoint
- Remediate Suspicious Activity Of An Endpoint
- Search Endpoints
- Search Grouped Endpoints
- Set Endpoint Tags
- Specific Suspicious Activity Of An Endpoint
- Events Actions
- Exclusions Actions
- Flight Recorder Actions
- Grid Actions
- Export CVEs
- Export Detections
- Export Device Control Events
- Export DNS Activity
- Export Endpoints
- Export Events
- Export OS Patches
- Export RID Rules
- Export Software Assets
- Search CVEs
- Search Detections
- Search Device Control Events
- Search DNS Activity
- Search Endpoints
- Search Events
- Search Events Groupby
- Search Grouped CVEs
- Search Grouped Detections
- Search Grouped Device Control Events
- Search Grouped DNS Activity
- Search Grouped Endpoints
- Search Grouped OS Patches
- Search Grouped RID Rules
- Search Grouped Software Assets
- Search OS Patches
- Search RID Rules
- Search Software Assets
- Groups Actions
- Installation Token Actions
- Installers Actions
- Jobs Actions
- Notifications Actions
- OS Patches Actions
- Policies Actions
- Products Actions
- Quarantine Actions
- Reports Actions
- RID Actions
- SA Actions
- Schedules Actions
- Usage Actions
- Users Actions
- Webhooks Actions
Accounts → Put Notifications Preferences
AI-generatedSummary
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) }}.