Skip to main content

Get an SFTP user

GET/sftp-users/{sftpUserId}/
v2
GET
sftp-user-get-sftp-user

Request

  • sftpUserIdstring
    required

    ID of the SFTPUser to get.

Responses

application/json

OK

  • accessLevelstring (one of: full, read, unspecified)
    required

    The level of access for an SFTPUser.

  • activeboolean
  • authUpdatedAtstring (date-time)
    required
  • createdAtstring (date-time)
    required
  • descriptionstring
    required
  • directoriesarray of string
    • Array[
    • *string
    • ]
  • 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/sftp-users/string