Zum Hauptinhalt springen

Get an SSH user

GET/ssh-users/{sshUserId}/
v2
GET
ssh-user-get-ssh-user

Request

  • sshUserIdstring
    required

    ID of the SSHUser to be retrieved.

Responses

application/json

OK

  • activeboolean
  • authUpdatedAtstring (date-time)
    required
  • createdAtstring (date-time)
    required
  • descriptionstring
    required
  • expiresAtstring (date-time)
  • hasPasswordboolean
    required
  • idstring
    required
  • projectIdstring
    required
  • publicKeysarray of object
    • Array[

      A representation of an ssh-public-key.

    • *object

      A representation of an ssh-public-key.

      • commentstring
        required
      • keystring
        required
    • ]
  • updatedAtstring (date-time)
  • userNamestring
    required
  • Usage examples

    $ curl \
    --fail \
    --location \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    https://api.mittwald.de/v2/ssh-users/string