This URL deletes the domain name exceptions specified in the string list.
Resource URL
DELETE /advancedmalware?type=block
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Hashtype. Can be allow or block. | String | Yes |
Payload Request Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| List of file hashes | StringList | Yes |
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
Field Name | Description | Data Type |
|---|---|---|
| Status. Set to 1 if the operation was successful. | Number |
Example
Request
DELETE https://<NSM_IP>/sdkapi/advancedmalware?type=block
Payload
{
"hashes":
["1aaaaaaaaaaaaaaaaaaaaaaaaaaaaa16",
"1aaaaaaaaaaaaaaaaaaaaaaaaaaaaa17",
"1aaaaaaaaaaaaaaaaaaaaaaaaaaaaa18"]
}
Response
{
"status": 1
}
Error Information
Following error code is returned by this URL:
S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 500 | 1001 | Internal error message: Internal server error |