Threatdown (Malwarebytes) icon

Threatdown (Malwarebytes)

Interact with the ThreatDown Nebula API by Malwarebytes

Actions181

Policies → Set Policy Secret By ID

AI-generated

Summary

Sends a POST request to the Threatdown (Malwarebytes) API endpoint for setting a policy's secret (/policies/{id}/secret), identified by policy ID, with an optional request body.

Inputs

  • ID (required) — Policy ID, used as the path parameter in the request URL.
  • Body Fields — Collection of body fields. Currently only offers Name (request body field 'name').
  • Additional JSON Body — Extra request body values as a JSON object, merged with Body Fields.

Output shape

The API response for the POST request, normalized into n8n items (likely one item or one per returned entry).

The source pack shows only function signatures for this node, so the exact response shape, merge precedence between Body Fields and JSON body, and the meaning of the 'name' field aren't confirmed. The property descriptions don't explain what secret is set.

Examples

Example 1: Set a secret on a specific policy by ID with a name.

ID = ; Body Fields: Name = 'my-secret'.

Example 2: Send extra body values not exposed as fields.

ID = ; Additional JSON Body = {"name":"my-secret"}.

Links

Discussion