Huddle01 Cloud
Keypairs

Create key pair

Create a new SSH key pair.

POST
/keypairs
x-api-key<token>

In: header

namestring
Length1 <= length <= 255
public_keystring

Response Body

application/json

application/json

application/json

curl -X POST "https://anton-api.huddle01.media/api/v1/keypairs" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "public_key": "string"  }'
{
  "id": "string",
  "name": "string",
  "public_key": "string",
  "fingerprint": "string",
  "created_at": "2019-08-24T14:15:22Z"
}
Empty
{
  "status": "HTTP_400",
  "message": "Invalid request",
  "data": {},
  "request_id": "string"
}
{
  "status": "HTTP_400",
  "message": "Invalid request",
  "data": {},
  "request_id": "string"
}