Skip to content

Commit 8bc2715

Browse files
authored
[WAF] Update API request for AI security settings (#29956)
1 parent f671ba2 commit 8bc2715

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/content/docs/waf/detections/ai-security-for-apps/get-started.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ AI Security for Apps (formerly Firewall for AI) is only available in the new [ap
4444
Enable the feature using a `PUT` request similar to the following:
4545

4646
```bash
47-
curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/firewall-for-ai/settings" \
47+
curl "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/ai-security/settings" \
4848
--request PUT \
4949
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
50-
--json '{ "pii_detection_enabled": true }'
50+
--json '{ "enabled": true }'
5151
```
5252

5353
</TabItem> </Tabs>

0 commit comments

Comments
 (0)