---
title: "SSL Certificate - Update"
method: POST
path: "/admin/ssl_cert/update"
tags: ["Admin"]
---

# SSL Certificate - Update

`POST /admin/ssl_cert/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.

## Headers

- `x-api-id` string, required
- `x-api-key` string, required

## Request body

- object
  - `statuspage_id` string, required — ID of the status page
  - `ssl_cert` string, required — SSL certificate (PEM format)
  - `ssl_cert_chain` string, required — SSL certificate chain (PEM format)
  - `ssl_cert_key` string, required — SSL certificate private key (PEM format)

## Response `200`

OK

- object
  - `result` boolean
  - `status` object
    - `error` string
    - `message` string

---

[API](https://skmtc.net/status/apis/status-io-api-v2.md) · [All operations](https://skmtc.net/status/apis/status-io-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/status/status-io-api-v2/versions/6054bf6d1a84/schema)
