OpenAPI JSON

API resource

Security Activation

Security Activation controls whether one WordPress site available to you uses security scanning. Use Security Activation to turn scanning on or off and confirm whether scanning is enabled after the change.

2 operations · Each operation has a stable reference URL.

POST

Enable site security

Enables security scanning for the selected site.

/sites/{site_id}/security/enable
POST

Disable site security

Disables security scanning for the selected site.

/sites/{site_id}/security/disable