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
Attributes | Required / Optional | Type | Description |
---|---|---|---|
clearAuditLog | Required | String | Indicates whether to clear the audit log. This can be one of the following values.
|
clearEventLog | Required | String | Indicates whether to clear the event log. This can be one of the following values.
|
eventAggSubscTimeOut | Required | String | Amount 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
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
Give documentation feedback