Add To Allow List

Add To Allow List

This API is used to add a list of files to allow-list.

Request
URI
POST
https://{api_host}/napp/api/v1/malware-prevention/allow-list
COPY
Request Body

Details of the file. Expected in terms of sha256 hash for each file.

AllowedFileDetailsRequestList of type(s) application/json
Optional
This request body class requires all of the following: InlineAllowedFileDetailsRequestList1
{
    "_self": {},
    "_links": [
        {
            "href": "string",
            "action": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "result_count": 0,
    "sort_by": "string",
    "sort_ascending": false,
    "cursor": "string",
    "file_hashes": [
        {
            "sha256": "fa35e2051ae8f152a1745d2455606a8e1f07c20abf848f8346549cb2f3986b0f"
        },
        {
            "sha256": "fa35e2051ae8f152a1745d2455606a8e1f07c20abf848f8346549cb2f3986b0f"
        }
    ]
}
Authentication
This operation uses the following authentication methods.
Responses
200

Successful operation

Returns AllowedFileDetailsResponseList of type(s) application/json
This response body class contains all of the following: InlineAllowedFileDetailsResponseList1
"AllowedFileDetailsResponseList Object"

400

Invalid inputs

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/napp/api/v1/malware-prevention/allow-list