HostFact API versie 3.1
SSL certificaten
SSL certificaten zijn te beheren via de controller 'ssl'.
resendapprovermail
Middels deze functie kunt u de approver e-mail opnieuw sturen.
Voorbeeldbestand: /voorbeelden/ssl/ssl.resendapprovermail.php
Invoerparameters:
| Veldnaam | Waarde | Omschrijving |
|---|---|---|
| Identifier | int | De unieke ID van een SSL certificaat |
| CommonName | string | De domeinnaam |
Voorbeeld invoer:
<?php
require_once("../hostfact_api.php");
$api = new HostFactAPI();
$sslParams = array(
'Identifier' => '1',
//'CommonName' => 'example.com',
);
$response = $api->sendRequest('ssl', 'resendapprovermail', $sslParams);
print_r_pre($response);
?>Voorbeeld uitvoer:
Array
(
[controller] => ssl
[action] => resendapprovermail
[status] => success
[date] => 2022-11-24T12:00:00+02:00
[success] => Array
(
[0] => De approver e-mail is opnieuw verzonden naar info@hostfact.nl
)
)