Update an SSH key

Replaces the label or the key material of a saved key. Fields left out of the request keep their current values.

PUT
/ssh-keys/{sshKey}

Authorization

BearerToken
AuthorizationBearer <token>

In: header

Path Parameters

sshKey*integer

The SSH key ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/ssh-keys/0" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": 0,  "name": "string",  "fingerprint": "string",  "key": "string",  "servers": "string"}