Zum Hauptinhalt springen

Get a specific stored ssh-key

GET/users/self/ssh-keys/{sshKeyId}/
v2
GET
user-get-ssh-key

Request

  • sshKeyIdstring (uuid)
    required

Responses

application/json

The requested ssh-key.

  • sshKeyobject
    required
    • algorithmstring
      required
    • commentstring
      required
    • createdAtstring (date-time)
      required
    • expiresAtstring (date-time)
    • fingerprintstring (hexdump)
      required
    • keystring
      required
    • sshKeyIdstring (uuid)
      required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/users/self/ssh-keys/f0f86186-0a5a-45b2-aa33-502777496347