Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: POST /rest/systemlog?action=rotate

Page Tree
rootResource - systemlog

This resource causes the system log to be rotated.

URL:

https://134.56.227.163/rest/systemlog?action=rotate

HTTP Method

POST

Requires Authentication:

true

Usage Example: (about cURL | requires a session token)

Code Block
languagebash
curl --cookie PHPSESSID=ej8n1o309aiko21tfc6nvff6j5 --cacert 1kCAcert.pem --data -i https://134.56.227.163/rest/systemlog?action=rotate



Response:

Code Block
languagehtml/xml
<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
 </status>
</root>