API operation · certificates group
DELETE
/domains/{name}/certificate
First published 3 Oct 2026
0.1.0Unchanged since publicationRemove a domain's TLS certificate
Who may call it
AdministratorResellerCustomer
Token scope, any of
certificatesallAnswers200 OK
Removes the TLS certificate and private key, whether UrbeStack issued the certificate or it was installed as a custom certificate. UrbeStack disables HTTPS for the site and sets its certificate mode to none, which excludes the domain from automatic renewal. The 200 response includes the removal result in certificate.
As a command
Run as root on the serverParameters
namepath ·DomainNameRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X DELETE "$API/domains/example.com/certificate" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"certificate": {
"name": "alice",
"reload": {},
"removed": 1
}
}Errors
11 errors, each a status and a sentence400Domain name required400Domain name too long400Invalid PHP version, expected e.g. 8.2400Invalid domain name400Nothing to change400Unknown PHP setting '<key>'; known: 400Unknown PHP version '<version>'400Unknown ssl key '<k>'400ssl must be an object401Authentication required404Domain '<name>' not foundNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/delete-domains-name-certificate/