Enterprise Log Export Test Connectivity

Enterprise Log Export Test Connectivity

Test connectivity to an endpoint

Privileges required:

READ ENTERPRISE

Request
URI
POST
https://{api_host}/portal/rest/enterprise/testLogExportEndpointConnectivity
COPY
Request Body
test_log_export_endpoint_connectivity of type(s) application/json
Required
{
    "logType": "string",
    "endpointProperties": {
        "endpoint": "string",
        "ca": "string",
        "cert": "string",
        "key": "string"
    }
}
string
logType
Required

logType

object
endpointProperties
Required

endpointProperties

Responses
200

Request was successfully processed

Returns test_log_export_endpoint_connectivity_response of type(s) application/json
"test_log_export_endpoint_connectivity_response Object"
boolean
connected
Optional

connected

object
error
Optional

error


400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"logType:"string","endpointProperties:"object"}' https://{api_host}/portal/rest/enterprise/testLogExportEndpointConnectivity