Zum Hauptinhalt springen

Get all SFTP users for a Project

GET/projects/{projectId}/sftp-users/
v2
GET
sftp-user-list-sftp-users

Request

  • projectIdstring
    required

    ID of the Project to request SFTPUsers for.

Responses

Response-Header

  • X-Pagination-Limitnumber
  • X-Pagination-Skipnumber
  • X-Pagination-TotalCountnumber
application/json

OK

  • Array[
  • *object

    A representation of an SFTPUser.

    • 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[
    • *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/projects/string/sftp-users?limit=50