Skip to main content

CreateSftpConnection

Stable

Creates an enabled SFTP connection; its technical code is derived from the label and never changes

Signature​

mutation {
CreateSftpConnection(label: ..., host: ..., port: ...)
}

Retourne : SftpConnection!

Arguments​

NomTypeRequisDéfautDescription
labelString!✓——
hostString!✓——
portInt!✓——

Exemple​

mutation {
CreateSftpConnection(
label: $label
host: $host
port: $port
) {
id
label
enabled
host
port
user
publicKey
authenticationMethod {}
lastConnectionTest {}
lastActivityAt
}
}