Delete Domain Certificate
Delete one certificate of a domain: a certificate you uploaded, or the one ngris issued through ACME. The certificate and its private key are removed from ngris; this can't be undone.
The default certificate (is_default: true, the one served for the domain) can be deleted only while another certificate of the domain is switched on (is_active: true). ngris then makes one of those the default before deleting: the ACME certificate if it is one of them, else the newest. To choose which one takes over, set it first with PUT /v1/domains/self/{uuid}/active-cert. When no other certificate is switched on, the request answers 409 and nothing changes: upload a replacement, or request an ACME certificate with POST /v1/domains/self/{uuid}/reissue-ssl, first.
Any other certificate is deleted without that check. Deleting never requests a new certificate, and ngris renews only an ACME certificate it holds: after deleting the ACME certificate, the domain gets a new one only through reissue-ssl. The edges reload their certificates as soon as the delete succeeds.
Account scope: the domain must belong to your active account, and your role needs delete access to certificates.
Path parameters
uuid from /domains/available.uuid from /certificates. It must belong to this domain.Response (200 OK)
"true" on success (a string, not a boolean).Certificate deleted.