latestOpenAPI 3.1.02026-08-23100133183.1 KB

0d66c7340876

SSH Keys

Add new SSH key

post/v1/ssh-keys

Request body

namestring required

Name of the SSH key

keystring required

Public SSH key

Example request

{
  "name": "my-key",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD..."
}

Response

Returns the ID of the newly created SSH key