---
title: "List SFTP Accounts"
method: GET
path: "/v0/sftp-accounts"
tags: ["SFTP Accounts"]
---

# List SFTP Accounts

`GET /v0/sftp-accounts`

Returns a list of SFTP Accounts for the organization.

## Response `200`

The request has succeeded.

- SftpAccountResource[]
  - `name` string — The name of the SFTP Account
  - `host` string — The SFTP server host address
  - `port` integer — The SFTP server port number (defaults to 22)
  - `username` string — The user that should be used to connect to the SFTP server
  - `id` integer
  - `has_password` boolean
  - `has_ssh_private_key` boolean

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/oneschema/apis/templates.md) · [All operations](https://skmtc.net/oneschema/apis/templates/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oneschema/templates/revisions/40674aa6d4d9/schema)
