- URL: https://<logs-url>/clean(POST only)
- Required Capability:Default administrator role | Security and infrastructure privilege | Servers privilege
- Version Introduced:10.3.1
Description
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.
Precaución:
Once these log files are deleted, they cannot be recovered.
Request parameters
Parameter | Details |
---|---|
f | The response format. The default is html. Values: html | json | pjson |
Example usage
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
{"status": "success"}