PUT /events/config

Use this method to modify the event configuration settings and to clear the event and audit logs.

Authentication

Authentication with user name and password is required.

Request URL

PUT https://{management_server_IP}/events/config

Query parameters

None

Request body

Attributes Required / Optional Type Description
clearAuditLog Required String Indicates whether to clear the audit log. This can be one of the following values.
  • true. Clears the audit log.
  • false. (default) Do not clear the audit log.
clearEventLog Required String Indicates whether to clear the event log. This can be one of the following values.
  • true. Clears the event log.
  • false. (default) Do not clear the event log.
eventAggSubscTimeOut Required String Amount of time to wait for an event aggregation subscription
The following example clears the event and audit logs.
GET https://192.0.2.0/events/config?clearAuditLog=true&clearEventLog=true

Response codes

Code Description Comments
200 OK The request completed successfully.
400 Bad Request A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
401 Unauthorized The user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body.
500 Internal Server Error An internal error occurred. A descriptive error message is returned in the response body.

Response body

None