Knowledge Base
Categories: SiteLock API
Process SiteLock Threat Notifications Using the API
When you want to mark SiteLock threat notifications as processed using the API. This article explains the required parameters, reseller scope handling, API request format, and response behavior for threat notification processing.
Description
Processes the specified threat notifications.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| notification-id | Array of Integers | Required | Notification ID of the threat notifications which needs to be processed. Use this method to get the Notification ID(s). |
| reseller-id | Integer | Optional | Reseller ID of the Reseller for whom threat notifications are to be processed. By default, threat notifications for the current user will be processed. |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/sitelock/threat/processed.json?auth-userid=0&api-key=key¬ification-id=0
Response
Returns true (String) if the threat notification(s) is/are processed successfully.
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.
Did you find this article helpful?