- URL: https://<logs-url>/clean(POST only)
- Required Capability:Default administrator role | Security and infrastructure privilege | Servers privilege
- Version Introduced:10.3.1
This operation deletes all the log files on the machine hosting Portal for ArcGIS, freeing up disk space. The logs cannot be recovered after executing this operation.
Once these log files are deleted, they cannot be recovered.
The response format. The default is html.
Values: html | json | pjson
Below is a sample POST request for clean:
POST /webadaptor/portaladmin/logs/clean HTTP/1.1 Host: machine.domain.com Content-Type: application/x-www-form-urlencoded Content-Length:  f=json
JSON Response example