---
title: "Update certificate key"
method: POST
path: "/key"
tags: ["Administration"]
---

# Update certificate key

`POST /key`

Update certificate key.

## Request body

- object
  - `crt` string, required — Content of this certificate file for TLS or WSS transport protocol. The certificate file MUST be PEM-encoded with X.509.
  - `key` string, required — Content of this private certificate file for TLS or WSS transport protocol.

## Response `204`

No Content

## Other responses

- `4XX` — Error

---

[API](https://skmtc.net/portsip/apis/portsip-pbx-rest-api.md) · [All operations](https://skmtc.net/portsip/apis/portsip-pbx-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portsip/portsip-pbx-rest-api/revisions/577415d4a3d5/schema)
