OpenAPI JSON

API resource

Bot Protection

Bot Protection controls whether one WordPress site uses bot traffic protection. Use Bot Protection to turn the feature on or off and review request counts for recognized bots and blocked or unwanted bots over a selected time range.

3 operations · Each operation has a stable reference URL.

POST

Enable bot protection

Turns bot protection on for the selected site and returns the current bot

/sites/{site_id}/security/firewall/bot-protection/enable
POST

Disable bot protection

Turns bot protection off for the selected site and returns the current bot

/sites/{site_id}/security/firewall/bot-protection/disable
GET

Show bot protection stats

Returns bot traffic stats for the selected site. The response groups

/sites/{site_id}/security/firewall/bot-protection/stats