SSH Keys
Update SSH key
Changed onUpdate an SSH key's display name. The public key itself cannot be changed — delete and recreate to rotate.
put/api/v1/ssh-keys/{id}
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/ssh-keys/{id}
- AuthAPI key in header X-API-Key
Path parameters
idstring uuid required
SSH key ID (UUID)
Request body
Response
SSH key updated
Example response
{
"data": {
"name": "laptop",
"fingerprint": "SHA256:1+VorffDlD3U7juTRFPvwlXH1Ae81o/2yTnpEN7t26w",
"servers": [
{
"name": "web-01",
"status": "active"
}
]
}
}Changes
- info
added the optional property
/to the response with the status
- info
- warning
added the new
sk-ecdsa-sha2-nistp256@openssh.comenum value to the/response property for the response status - warning
added the new
sk-ssh-ed25519@openssh.comenum value to the/response property for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning