# UpdateExportSftpConfigInput

Input for `updateExportSftpConfig`. Omitted fields keep their value.

```
input UpdateExportSftpConfigInput {

  id: ID!

  host: String

  port: Int

  username: String

  password: String

  path: String

  columns: [String!]

  timezone: String

  exportType: ExportType

  enabled: Boolean

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`UpdateExportSftpConfigInput.id`](#id) ● [`ID!`](https://docs.monei.com/apis/graphql/types/scalars/id.md) non-null scalar[​](#id "Direct link to id")

ID of the config to update (a UUID), from `exportSftpConfigs`.

#### [`UpdateExportSftpConfigInput.host`](#host) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string.md) scalar[​](#host "Direct link to host")

SFTP server hostname.

#### [`UpdateExportSftpConfigInput.port`](#port) ● [`Int`](https://docs.monei.com/apis/graphql/types/scalars/int.md) scalar[​](#port "Direct link to port")

SFTP server port, a positive integer.

#### [`UpdateExportSftpConfigInput.username`](#username) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string.md) scalar[​](#username "Direct link to username")

SFTP username.

#### [`UpdateExportSftpConfigInput.password`](#password) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string.md) scalar[​](#password "Direct link to password")

SFTP password. Write-only: no query returns it. An app connected through OAuth, or a dashboard user with a custom permission list, must send it to change `host`, `port` or `username`: the stored password goes only to the server it was set for.

#### [`UpdateExportSftpConfigInput.path`](#path) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string.md) scalar[​](#path "Direct link to path")

Directory on the SFTP server where MONEI writes the files.

#### [`UpdateExportSftpConfigInput.columns`](#columns) ● [`[String!]`](https://docs.monei.com/apis/graphql/types/scalars/string.md) list scalar[​](#columns "Direct link to columns")

Columns of a `CSV` file.

#### [`UpdateExportSftpConfigInput.timezone`](#timezone) ● [`String`](https://docs.monei.com/apis/graphql/types/scalars/string.md) scalar[​](#timezone "Direct link to timezone")

IANA time zone for the date columns and the previous day.

#### [`UpdateExportSftpConfigInput.exportType`](#export-type) ● [`ExportType`](https://docs.monei.com/apis/graphql/types/enums/export-type.md) enum[​](#export-type "Direct link to export-type")

Format of the files this destination receives (`CSV` or `C60`).

#### [`UpdateExportSftpConfigInput.enabled`](#enabled) ● [`Boolean`](https://docs.monei.com/apis/graphql/types/scalars/boolean.md) scalar[​](#enabled "Direct link to enabled")

Whether the scheduled export runs.

### Member Of[​](#member-of "Direct link to Member Of")

[`updateExportSftpConfig`](https://docs.monei.com/apis/graphql/operations/mutations/update-export-sftp-config.md) mutation
