removeWafException — Removing exceptions to rules
The removeWafException
method removes an exception to rules.
For information about available exception formats and types, see Standard exception interaction.
This request will assume that the example from the addWafException page has been executed, and is the only exception so executed.
The API endpoint is:
https://api.sitelock.com/v1/partner
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
-
partner: (Optional) The brand name to use in messaging
-
-
removeWafException: The method name
-
site_id: The ID of the site for which to remove the exceptions
-
exception_id: The ID of an exception. See Common exception format
-
type: One item from Exception types
-
-
Response format
-
SiteLockOnlineResponse: This element is used to delineate the full API response.
-
removeWafException: The method name
-
exceptions: A list of exceptions
-
exception_id: The ID of an exception. See Common exception format
-
type: One item from Exception types
-
-
status: Either
ok
orerror
-
-