Full-document update of your organization's threat protection policy. Unspecified fields reset to defaults. Team admins only.
Update Threat Protection Policy
Full-document update. Unspecified fields reset to defaults. Enterprise feature, team admins only.
1 min read
put/team/threat-protection
Request example
Response
put/team/threat-protection
Authorization
Body
application/jsonThreat protection mode.
off disables checks; normal checks URLs against Google Web Risk (+2 credits per URL scanned).Options:
offnormalNormalized score (0-100) at or above which a classifier verdict is blocked. Lower is stricter.
Range: 0–100
Exact domains or globs (e.g.
*.example.com) always blocked, without a classifier call.Exact domains or globs always allowed. Wins over every other rule.
Top-level domains to block outright, lowercase without a leading dot.
Behavior when the classifier is unreachable:
closed blocks (default), open allows.Options:
openclosedWhether individual requests may pass a
threatProtection object. When false, such requests are rejected with 403.Responses
application/json
Effective threat protection policy for the team's organization.
Show child attributesHide child attributes
Threat protection mode.
off disables checks; normal checks URLs against Google Web Risk (+2 credits per URL scanned).Options:
offnormalNormalized score (0-100) at or above which a classifier verdict is blocked. Lower is stricter.
Range: 0–100
Exact domains or globs (e.g.
*.example.com) always blocked, without a classifier call.Exact domains or globs always allowed. Wins over every other rule.
Top-level domains to block outright, lowercase without a leading dot.
Behavior when the classifier is unreachable:
closed blocks (default), open allows.Options:
openclosedWhether individual requests may pass a
threatProtection object. When false, such requests are rejected with 403.Whether the organization has saved a policy (vs. serving defaults).

