[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
vrs-appliance-config-api

Update Syslog Servers

Description

Update configured syslog servers.

Request

Request

URL

URL


put
https://{api_host}//appliance/settings/syslog-servers
Copy

Request Body

Request Body

array of SyslogServerInfo of mimetype application/json Optional

Update the list of syslog servers with the given one.

{
	"host": "string",
	"port": 0,
	"protocol": "TCP"
}
string
host Optional

integer as int32
port Optional

string
protocol Optional

Possible values are: TCPUDPRELP

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

The syslog servers are updated.

Errors

Errors

ResponseError
400

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


401

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


ResponseError
403

Forbidden - not sufficient access rights to fulfill the request


ResponseError
500

Internal server error - unexpected condition prevents fulfilling the request

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '[{"host":"string","port":0,"protocol":"TCP"}]' https://{api_host}/appliance/settings/syslog-servers


[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
vrs-appliance-config-api
Feedback

Was this page helpful?