manageSMARTPatch — Managing SMART Patch Scans
The manageSMARTPatch method manages the SMART Patch Scan behavior for a site that the user wants to patch or revert a patch.
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
-
-
manageSMARTPatch: The method name
-
site_id: The ID of the site for which to perform the patch operation
-
action: The value can be the following:
-
force_patch: Patch all files with vulnerabilities
-
revert: Revert a previous patch. The additional element
smart_scan_idis required.
-
-
smart_scan_id: Required if
actionis set torevert.The
smart_scan_idcan be found in the scanSummary response.
-
-