Command: re-issue the certificate now (requires editor); automatic renewal runs 30 days before expiry anyway.
POST
/certificates/{certId}/renew
const url = 'https://example.com/api/v1/certificates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/renew';const options = {method: 'POST', headers: {cookie: 'dnse_session=<dnse_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/certificates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/renew \ --cookie dnse_session=<dnse_session>Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Path Parameters
Abschnitt betitelt „Path Parameters“certId
required
string format: uuid
Responses
Abschnitt betitelt „Responses“Renewal started (status pending).
Media typeapplication/json
object
id
string format: uuid
projectId
string format: uuid
label
string
names
Array<string>
keyType
string
profile
string
validityDays
integer
mustStaple
boolean
preferredChain
string
ephemeralKey
One-time key download (custody choice).
boolean
keyAvailable
The private key is still downloadable.
boolean
keyRetrievedAt
string format: date-time
status
string
notAfter
string format: date-time
fingerprint
SHA-256 of the leaf certificate.
string
lastError
string
Example
{ "keyType": "ec256", "status": "pending"}Resource not found.
Media typeapplication/json
object
error
required
string
Examplegenerated
{ "error": "example"}