This URL to perform the action, move the hashes into blocked or unclassified.
Resource URL
PUT /advancedmalware/allowedhashes/<hash>/takeaction/<action>
Request Parameters
URL Parameters:
| Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| hash | Hash | String | Yes |
| action | Action can be block/unclassified | String | Yes |
Following fields are returned if the request parameters are correct, otherwise error details are returned.
| Field Name | Description | Data Type |
|---|---|---|
| status | Status | Number |
Example
Request
Response
{
“status”:1
}
Error Information
Following error codes are returned by this URL:
| S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
| 1 | 400 | 4903 | Invalid action |
| 2 | 400 | 3401 | Invalid hash |