Return AutoSSL log file's contents

This function returns the contents of an AutoSSL log file.

Authorizations:
query Parameters
start_time
required
string <ISO-8601 Date Time>

When the system created the log file.

Example: start_time=2016-06-09T14:25:37.000Z

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  get_autossl_log \
  start_time='2016-06-09T14:25:37Z'

Response samples

Content type
application/json
{
  • "data": {
    • "payload": [
      • {
        • "contents": "This system has AutoSSL set to use cPanel (powered by Sectigo).",
        • "indent": 0,
        • "partial": 0,
        • "pid": 29189,
        • "timestamp": "2016-06-09T14:25:37.000Z",
        • "type": "out"
        }
      ]
    },
  • "metadata": {
    • "command": "get_autossl_log",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}