modifySMARTPatch — Setting SMART Patch Scan configuration settings
The modifySMARTPatch
method provides the SMART Patch Scan configuration settings for a site.
SMART must be configured before the SMART Patch Scan configuration can be completed. |
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
-
-
modifySMARTPatch: The method name
-
site_id: The ID of the site for which to provide SMART Patch Scan settings
-
auto_fix_app: Determines if the user is warned of malicious code or if the code is fixed. The possible values are:
-
warn: Scan automatically but don’t patch
-
fix: Scan and patch automatically
-
ignore: Turn off scanning
warn
andfix
can only be used if the feature is available.
-
-
-