Skip to main content
PATCH
/
ssh_certificate_authorities
/
{id}
Update
curl --request PATCH \
  --url https://api.ngrok.com/ssh_certificate_authorities/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'ngrok-version: <ngrok-version>' \
  --data '{
  "id": "<string>",
  "description": "<string>",
  "metadata": "<string>"
}'
{
  "id": "<string>",
  "uri": "<string>",
  "created_at": "<string>",
  "description": "<string>",
  "metadata": "<string>",
  "public_key": "<string>",
  "key_type": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

ngrok-version
integer
default:2
required

Path Parameters

id
string
required

Body

application/json
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 - application/json

Update an SSH Certificate Authority

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