Skip To Content

Clean Logs

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.

Caution:

Once these log files are deleted, they cannot be recovered.

Request parameters

ParameterDetails
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"}