Delete certificate
Delete an SSL certificate from your site.
DELETE/api/servers/{server}/sites/{site}/certificates/{certificate}
Delete certificate
This endpoint allows you to delete an SSL certificate from your site.
The active certificate cannot be deleted while other certificates exist on the site, activate another certificate first. For tenant certificates this guard is scoped to the tenant's own certificates.
Request
DELETE
/api/servers/{server}/sites/{site}/certificates/{certificate}curl -X DELETE "https://ploi.io/api/servers/{server}/sites/{site}/certificates/{certificate}" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response
{
"message": "Certificate has been deleted"
}