---
title: "Update"
method: PATCH
path: "/ssh_certificate_authorities/{id}"
tags: ["SSHCertificateAuthorities"]
---

# Update

`PATCH /ssh_certificate_authorities/{id}`

Update an SSH Certificate Authority

## Path parameters

- `id` string, required

## Headers

- `ngrok-version` integer, required

## Request body

- SSHCertificateAuthorityUpdate
  - `id` string — n/a
  - `description` string — human-readable description of this SSH Certificate Authority. optional, max 255 bytes.
  - `metadata` string — arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes.

## Response `200`

Update an SSH Certificate Authority

- SSHCertificateAuthority
  - `id` string — unique identifier for this SSH Certificate Authority
  - `uri` string — URI of the SSH Certificate Authority API resource
  - `created_at` string — timestamp when the SSH Certificate Authority API resource was created, RFC 3339 format
  - `description` string — human-readable description of this SSH Certificate Authority. optional, max 255 bytes.
  - `metadata` string — arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes.
  - `public_key` string — raw public key for this SSH Certificate Authority
  - `key_type` string — the type of private key for this SSH Certificate Authority

## Other responses

- `4XX` — An error. The body carries a machine-readable error_code and a human-readable msg; every code is documented at https://ngrok.com/docs/errors. A 429 with error code ERR_NGROK_226 means the account exceeded the documented request-rate limit.
- `5XX` — An error. The body carries a machine-readable error_code and a human-readable msg; every code is documented at https://ngrok.com/docs/errors. A 429 with error code ERR_NGROK_226 means the account exceeded the documented request-rate limit.

## Changes

- **2024-10-22** `e40349f8ec6f` — 1 info
  - api operation id `SSHCertificateAuthoritiesUpdate` removed and replaced with `SshCertificateAuthoritiesUpdate`

[Change history](https://skmtc.dev/ngrok/apis/ngrok-openapi/changes/ssh_certificate_authorities/:id/patch.md)

---

[API](https://skmtc.dev/ngrok/apis/ngrok-openapi.md) · [All operations](https://skmtc.dev/ngrok/apis/ngrok-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ngrok/ngrok-openapi/revisions/c697539ac350/schema)
