sites

Get SFTP User List

Get a list of FTP users for the specified site.

get/sites/{site_id}/ftp

Request

Path parameters

site_idinteger required

Response

Successful Response

messagestring
dataobject[]

Example response

{
  "message": "Success",
  "data": [
    {
      "id": 1,
      "created": "2022-01-31T20:05:39.000Z",
      "accessed": "2022-01-31T20:05:39.000Z",
      "modified": "2022-01-31T20:05:39.000Z",
      "accountId": 2,
      "sftpDomain": "sftp.pressable.com",
      "siteId": 1,
      "siteName": "my-presssable-net",
      "username": "46e652f73b2afc",
      "owner": false,
      "email": "janedoe@example.com"
    },
    {
      "id": 2,
      "created": "2022-01-31T20:05:39.000Z",
      "accessed": "2022-01-31T20:05:39.000Z",
      "modified": "2022-01-31T20:05:39.000Z",
      "accountId": 2,
      "sftpDomain": "sftp.pressable.com",
      "siteId": 1,
      "siteName": "my-presssable-net",
      "username": "6f4c70e32926e2",
      "owner": false,
      "email": "tomdoe@example.com"
    },
    {
      "id": 49,
      "created": "2022-01-31T20:05:39.000Z",
      "accessed": "2022-01-31T20:05:39.000Z",
      "modified": "2022-01-31T20:05:39.000Z",
      "accountId": 2,
      "sftpDomain": "sftp.pressable.com",
      "siteId": 1,
      "siteName": "my-presssable-net",
      "username": "6dccad86",
      "owner": false,
      "email": "clairedoe@example.com"
    },
    {
      "id": 1303,
      "created": "2022-01-31T20:05:40.000Z",
      "accessed": "2022-01-31T20:05:40.000Z",
      "modified": "2022-01-31T20:05:40.000Z",
      "accountId": 2,
      "sftpDomain": "sftp.pressable.com",
      "siteId": 1,
      "siteName": "my-presssable-net",
      "username": "my-presssable-net",
      "owner": true,
      "email": "johndoe@example.com"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.