Skip to main content

PUT /events/config

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

Authentication

Authentication with username and password is required.

Request URL

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

Query parameters

None

Request body

AttributesRequired / OptionalTypeDescription
clearAuditLogRequiredStringIndicates 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.
clearEventLogRequiredStringIndicates 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.
eventAggSubscTimeOutRequiredStringAmount of time to wait for an event aggregation subscription
The following example clears the event and audit logs.
{
"clearAuditLog": true,
"clearEventLog": true,
"eventAggSubscTimeOut":15,
}

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA 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.
401UnauthorizedThe user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

None