Skip to main content

Get your stored ssh-keys

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

Request

Responses

Response headers

  • X-Pagination-Limitnumber

    The limit used to select the resources for the response

  • X-Pagination-Skipnumber

    The number of skipped items

  • X-Pagination-Pagenumber

    The calculate page of the list response. Refer to parameters to learn more.

  • X-Pagination-TotalCountnumber

    The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.

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?limit=50&page=1