Stasis
Ssh keys

Add SSH key

Adds a new SSH public key for the authenticated user

POST
/api/v1/ssh-keys

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/ssh-keys" \  -H "Content-Type: application/json" \  -d '{}'
{
  "key": {
    "created_at": "2019-08-24T14:15:22Z",
    "fingerprint": "string",
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "title": "string"
  },
  "message": "string"
}
Empty
Empty
Empty