- URL:https://<logs-url>/clean
(POST only)
- Required Capability:Default administrator role | Security and Infrastructure
- Version Introduced:10.1
Description
This 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.
Precaución:
This operation is irreversible. Once invoked, this operation delete all logs on every server machine in the site.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default response format is html. Value: html | json| pjson |
Example usage
Below is a sample POST request for clean:
POST /webadaptor/admin/logs/clean HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=json
JSON Response example
{"status": "success"}