POST /alertsyslogconfig/{uuid}/testsyslog

POST /alertsyslogconfig/{uuid}/testsyslog

/alertsyslogconfig/{uuid}/testsyslog

Request
URI
POST
https://api_host/api/alertsyslogconfig/{uuid}/testsyslog
COPY
Path Parameters
string
uuid
Required

UUID of the object to fetch

Header Parameters
string
X-Avi-Tenant
Optional

Avi Tenant Header

string
X-Avi-Tenant-UUID
Optional

Avi Tenant Header UUID

string
X-Avi-Version
Required

The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.

string
X-CSRFToken
Optional

Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.


Request Body
AlertTestSyslogSnmpParams of type(s) application/json
Optional
{
    "text": "string",
    "uuid": "string"
}
string
text
Required

The contents of the Syslog message/SNMP Trap contents. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

string
uuid
Optional

Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.

Responses
200

OK

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

401

log in failed

Operation doesn't return any data structure