|
| 1 | +--- |
| 2 | +title: "Vector Pro: CDN & WAF API Endpoints" |
| 3 | +date: 2026-04-08 22:37:51 -0400 |
| 4 | +tags: [vector-pro] |
| 5 | +--- |
| 6 | + |
| 7 | +New API endpoints for managing CDN and WAF configurations on Vector Pro sites. |
| 8 | + |
| 9 | +<!--more--> |
| 10 | + |
| 11 | +### New Features |
| 12 | + |
| 13 | +**CDN Management** |
| 14 | + |
| 15 | +- `GET /sites/{site}/cdn/caching` -- Get caching settings (smart cache, vary headers, origin shield, request coalescing, stale content) |
| 16 | +- `PUT /sites/{site}/cdn/caching` -- Update caching settings |
| 17 | +- `GET /sites/{site}/cdn/optimizer` -- Get optimizer settings (image optimization, asset minification, quality) |
| 18 | +- `PUT /sites/{site}/cdn/optimizer` -- Update optimizer settings |
| 19 | +- `GET /sites/{site}/cdn/edge-rules` -- List edge rules |
| 20 | +- `GET /sites/{site}/cdn/edge-rules/{rule}` -- Get a specific edge rule |
| 21 | +- `POST /sites/{site}/cdn/edge-rules` -- Create an edge rule |
| 22 | +- `PUT /sites/{site}/cdn/edge-rules/{rule}` -- Update an edge rule |
| 23 | +- `DELETE /sites/{site}/cdn/edge-rules/{rule}` -- Delete an edge rule |
| 24 | + |
| 25 | +**WAF Management** |
| 26 | + |
| 27 | +- `GET /sites/{site}/waf/settings` -- Get WAF core configuration (execution mode, profiles, rule groups, payload limits) |
| 28 | +- `PUT /sites/{site}/waf/settings` -- Update WAF settings |
| 29 | +- `GET /sites/{site}/waf/profiles` -- List WAF profiles |
| 30 | +- `GET /sites/{site}/waf/ddos-protection` -- Get DDoS protection settings |
| 31 | +- `PUT /sites/{site}/waf/ddos-protection` -- Update DDoS protection settings |
| 32 | +- `GET /sites/{site}/waf/bot-detection` -- Get bot detection settings |
| 33 | +- `PUT /sites/{site}/waf/bot-detection` -- Update bot detection settings |
| 34 | + |
| 35 | +**WAF Access Lists** |
| 36 | + |
| 37 | +- `GET /sites/{site}/waf/access-lists` -- List access lists |
| 38 | +- `GET /sites/{site}/waf/access-lists/enums` -- Get access list enums |
| 39 | +- `GET /sites/{site}/waf/access-lists/{accessList}` -- Get a custom access list |
| 40 | +- `POST /sites/{site}/waf/access-lists` -- Create a custom access list |
| 41 | +- `PUT /sites/{site}/waf/access-lists/config` -- Update access list configuration |
| 42 | +- `PUT /sites/{site}/waf/access-lists/{accessList}` -- Update a custom access list |
| 43 | +- `DELETE /sites/{site}/waf/access-lists/{accessList}` -- Delete a custom access list |
| 44 | + |
| 45 | +See the [Vector Pro API documentation](/api/) for full details. |
0 commit comments