Get Threats Averted

Get Threats Averted

Get CWS Threats Averted number for an enterprise

Request
URI
GET
https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/threatsAverted
COPY
Path Parameters
string
enterpriseLogicalId
Required

Enterprise Logical ID

Query Parameters
number
start
Required

Query Interval Start Time


Responses
200

CWS Threats Averted Number

Returns Array of object of type(s) application/json
[
    {
        "timestamp": "2021-03-16T21:08:31.000Z",
        "result": [
            {
                "lastAccess": 1611961646,
                "rows": "number",
                "lastAccessIso": "2021-03-22T05:54:50",
                "peAction": "block"
            }
        ]
    }
]

400

Invalid Input

Returns httpResponseError of type(s) application/json
{
    "code": "error code",
    "errors": [
        {
            "message": "error message",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required

errors


404

CWS Threats Averted not found

Returns httpResponseError of type(s) application/json
{
    "code": "error code",
    "errors": [
        {
            "message": "error message",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required

errors


500

Internal Server Error

Returns httpResponseError of type(s) application/json
{
    "code": "error code",
    "errors": [
        {
            "message": "error message",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required

errors