Clean Logs

URL:
https://<root>/logs/clean
Methods:
POST
Required Capability:
Access allowed with the "Security and Infrastructure" privilege
Version Introduced:
10.1

Description

The clean operation forces the server to clean the logs, freeing up disk space. However, it is not required that this operation be invoked, as the server will periodically purge old logs.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Value: html | json | pjson

Example usage

The following is a sample POST request for the clean operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /webadaptor/admin/logs/clean HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.