Add an SSH key
Saves a public key under a label and returns it with the fingerprint computed from the key material.
Authorization
BearerToken AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/ssh-keys" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "key": "string" }'{ "id": 0, "name": "string", "fingerprint": "string", "key": "string", "servers": "string"}