Agency Hosting: SSL

Uninstall website SSL

Changed on

Removes the platform-issued Let's Encrypt certificate of the domain: the certificate is revoked and deleted before the response, so the domain is no longer served with a platform certificate until a new setup completes. Also succeeds when the domain has no platform certificate to remove. Uploaded (custom) certificates are not affected.

Returns 422 when a certificate process is recorded for the domain (a failed setup counts until it is cleaned up), 429 when the same domain was requested less than a minute ago, and 403 when the website is suspended or locked, and 404 when the website or the domain does not exist.

delete/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}/ssl

Request

  • Base URL: https://developers.hostinger.com
  • URL: https://developers.hostinger.com/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}/ssl
  • Auth: HTTP bearer

Path parameters

website_uidstring required
Example:zpwlGlp19

Agency Plan website UID

domainstring required
Example:mydomain.tld

Domain name

Response

Success empty response

messagestring

Example response

{
  "message": "Request accepted"
}

Changes