Send Syslog Test Message

Send Syslog Test Message

Send test message to all syslog servers.

Request
URI
POST
https://{api_host}/appliance/settings/syslog-servers/actions/send-test-message
COPY
Request Body

The test message to be sent to all syslog servers.

TestMessage of type(s) application/json
Optional
{
    "message": "string"
}
string
message
Required

The message which will be sent to all syslog servers.

Authentication
This operation uses the following authentication methods.
Responses
204

Syslog servers are updated.

Operation doesn't return any data structure

400

Bad request - the server cannot understand the request due to invalid syntax or invalid request body content

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


401

Unauthorized - the client must authenticate itself to get the requested response

Operation doesn't return any data structure

403

Forbidden - not sufficient access rights to fulfill the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


500

Internal server error - unexpected condition prevents fulfilling the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"message:"string"}' https://{api_host}/appliance/settings/syslog-servers/actions/send-test-message