Description

This function resets the AutoSSL registration with a remote AutoSSL provider.

Examples


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

{  
   "metadata":{  
      "reason":"OK",
      "command":"reset_autossl_provider",
      "result":1,
      "version":1
   }
}
<result>
    <metadata>
        <version>1</version>
        <result>1</result>
        <reason>OK</reason>
        <command>reset_autossl_provider</command>
    </metadata>
</result>

     

Parameters

ReturnTypeDescriptionPossible valuesExample
providerstring

Required

The AutoSSL provider's name.

A valid AutoSSL provider's name.

cPanel

x_*string

Additional parameters which you wish to pass to the AutoSSL provider.

These additional parameters begin with the x_ prefix. For example, the Let's Encrypt provider accepts the x_terms_of_service_accepted parameter, to which you would pass the URL of the terms of service that you accept.

(varies)(varies)

Returns

This function only returns metadata.