Certificates

Remove a managed certificate; the hostnames fall back to automatic Let's Encrypt certificates

delete/certificates/managed/{certificateId}

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/certificates/managed/{certificateId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

certificateIdstring uuid required

Response

Removed

idstring uuid required
organizationIdstring uuid required
source'upload' | 'acme' | 'reseller' required
namesstring[] required
commonNamestring nullable required
issuerstring required
serialstring required
fingerprintstring required
notBeforestring required

ISO-8601 timestamp

notAfterstring required

ISO-8601 timestamp

daysLeftinteger required
keyType'rsa' | 'ec' required
keyBitsinteger required
state'active' | 'replaced' | 'removed' | 'expired' | 'conflict' required
stateReasonstring nullable required
deliveryStatus'pending' | 'delivered' | 'error' | 'withdrawn' required
deliveryErrorstring nullable required
deliveredAtstring nullable required

ISO-8601 timestamp

serving'unknown' | 'serving' | 'shadowed' required

serving: the proxy presents this certificate; shadowed: it still presents another one (see docs)

servingCheckedAtstring nullable required

ISO-8601 timestamp

autoRenewboolean required
renewalOfstring uuid nullable required
replacedBystring uuid nullable required
orderIdstring uuid nullable required
acmeRequestIdstring uuid nullable required
certificatePemstring required

public certificate (leaf), PEM

chainPemstring required

intermediates, PEM

createdAtstring required

ISO-8601 timestamp

updatedAtstring required

ISO-8601 timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.