getWafBypass — Retrieving the current bypass state
The getWafBypass method retrieves the current Firewall & CDN bypass status.
The Firewall & CDN bypass state is also available on the SiteLock Dashboard.
The API endpoint is:
Request format
-
SiteLockOnlineRequest: This element is used to delineate the full API request.
-
authentication: The partner’s username, password, and branding.
-
username: The partner’s API username
-
password: The partner’s API password
-
-
getWafOrigin: The method name
-
site_id: The ID of the site for which to retrieve the bypass state
-
-
Response format
-
SiteLockOnlineResponse: This element is used to delineate the full API response.
-
getWafBypass: The method name
-
bypass_status: The bypass status. The possible values are
offandon. -
use_true_shield: The Firewall & CDN protection status. The possible values are
1and0 -
use_true_speed: The CDN caching status. The possible values are
1or0. -
status: The possible values are
okanderror.
-
-