Description

This function performs an AutoSSL certificate check in the background for a cPanel user.

Examples


https://hostname.example.com:2087/cpsess##########/json-api/start_autossl_check_for_one_user?api.version=1&username=example
https://hostname.example.com:2087/cpsess##########/xml-api/start_autossl_check_for_one_user?api.version=1&username=example
whmapi1 start_autossl_check_for_one_user username=example

{ 
   "metadata":{ 
      "version":1,
      "reason":"OK",
      "command":"start_autossl_check_for_one_user",
      "result":1
   },
   "data":{ 
      "pid":29189
   }
}
<result>
    <metadata>
        <command>start_autossl_check_for_one_user</command>
        <version>1</version>
        <result>1</result>
        <reason>OK</reason>
    </metadata>
    <data>
        <pid>29193</pid>
    </data>
</result>

     

Parameters

ParameterTypeDescriptionPossible valuesExample
usernamestring

Required

The cPanel username.

A valid cPanel username on the server.

example

Returns

ReturnTypeDescriptionPossible valuesExample
pidinteger

The process ID of the script.

A valid integer.
29193