HostingSslCertificateInstallRequest
SSL certificate to install on the hosting; with no body, a Let's Encrypt certificate for the website
ssl_certificate_idinteger | nullnullable
Id of a purchased SSL certificate to install (GET /api/v3/ssl-certificates/{ssl_certificate_id}); omit it, or send null, to install a Let's Encrypt certificate, issued if the hosting has none
destination_typestring
Where to install the certificate: web for the website, mail for the mail servers, all for both. mail and all require cn_type WILDCARD; on a subdomain only web is allowed
Possible values: [all, web, mail]
Default value:
webcn_typestring
Type of the certificate: NORMAL, or WILDCARD for a wildcard certificate. Without ssl_certificate_id it chooses the Let's Encrypt certificate to install
Possible values: [NORMAL, WILDCARD]
Default value:
NORMALHostingSslCertificateInstallRequest
{
"ssl_certificate_id": 0,
"destination_type": "web",
"cn_type": "NORMAL"
}