v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14159650798.5 KB

Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) distribution.

Certificates that are currently attached to a distribution cannot be deleted. Use the DetachCertificateFromDistribution action to detach a certificate from a distribution.

post/#X-Amz-Target=Lightsail_20161128.DeleteCertificate

Headers

X-Amz-Target'Lightsail_20161128.DeleteCertificate' required

Request body

certificateNamestring required
<p>The name of the certificate to delete.</p> <p>Use the <code>GetCertificates</code> action to get a list of certificate names that you can specify.</p>

Response

Success