> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# threat_protection_update

> Update the team's threat protection policy. Enterprise feature.

<div className="tool-route"><span className="tool-row-method" data-method="PUT">PUT</span><code>{"https://api.firecrawl.dev/v2/team/threat-protection"}</code></div>

```python firecrawl_threat_protection_update.py theme={null}
from charter.packs import firecrawl

result = await firecrawl.threat_protection_update.ainvoke({"mode": ...})
```

## Body

<div className="reference-table">
  | Field                                                        | Type                                                                                                    | Description                                                                                                                       |
  | ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
  | `mode` <span className="required" title="required">\*</span> | [ThreatProtectionMode](/charter/charter/packs/firecrawl/account/objects#threatprotectionmode)                   | Threat protection mode.                                                                                                           |
  | `riskScoreThreshold`                                         | `integer`                                                                                               | Normalized score (0-100) at or above which a classifier verdict is blocked. <span className="field-constraints">≥ 0; ≤ 100</span> |
  | `blacklist`                                                  | `string`\[]                                                                                             | Exact domains or globs always blocked, without a classifier call.                                                                 |
  | `whitelist`                                                  | `string`\[]                                                                                             | Exact domains or globs always allowed. Wins over every other rule.                                                                |
  | `blockedTlds`                                                | `string`\[]                                                                                             | Top-level domains to block outright, lowercase without a leading dot.                                                             |
  | `failurePolicy`                                              | [ThreatProtectionFailurePolicy](/charter/charter/packs/firecrawl/account/objects#threatprotectionfailurepolicy) | Behavior when the classifier is unreachable. The server applies 'closed' when this is absent.                                     |
  | `allowRequestOverrides`                                      | `boolean`                                                                                               | Whether individual requests may pass a threatProtection object.                                                                   |
</div>
