Skip to main content

SetSftpConnectionPassword

Stable

Signature​

mutation {
SetSftpConnectionPassword(id: ..., user: ...)
}

Retourne : SftpConnection!

Arguments​

NomTypeRequisDéfautDescription
idID!✓——
userString!✓—User of the connection. The connection is tested with this user and the password before anything is saved; if the test fails, nothing is saved
passwordString—New password of the connection. When null or empty, the stored password is kept and used for the test

Exemple​

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