POST
/
users
/
ssh-key
curl --request POST \
  --url https://restapi.gputrader.io/v1/users/ssh-key \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "publicKey": "<string>"
}'
{
  "name": "<string>",
  "publicKey": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

Body

application/json
publicKey
string
required

publicKey for the SSH key

Response

200
application/json
ssh key successfully created
name
string
publicKey
string
createdAt
string