Zum Hauptinhalt springen

Get your stored ssh-keys

GET /v2/users/self/ssh-keys/
v2
GET
user-list-ssh-keys

Request

Keine Request-Parameter.

Responses

application/json

The list of stored ssh-keys.

  • sshKeysarray of object
    • Array[
    • *object
      • 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