v1

latestOpenAPI 3.1.02026-08-06360288.3 KB
Admin

SSL Certificate - Update

Update the SSL certificate, certificate chain, and private key for a status page's custom domain.

Note: This endpoint is only for updating or renewing an existing certificate. The first certificate must be configured through the dashboard.

post/admin/ssl_cert/update

Headers

x-api-idstring required
x-api-keystring required

Request body

statuspage_idstring required

ID of the status page

ssl_certstring required

SSL certificate (PEM format)

ssl_cert_chainstring required

SSL certificate chain (PEM format)

ssl_cert_keystring required

SSL certificate private key (PEM format)

Example request

{
  "statuspage_id": "52e5e0e0873548543700000b",
  "ssl_cert": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
  "ssl_cert_chain": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
  "ssl_cert_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----"
}

Response

OK

resultboolean

Example response

{
  "result": true,
  "status": {
    "error": "no",
    "message": "OK"
  }
}