SetSftpConnectionPassword
Signature
mutation {
SetSftpConnectionPassword(id: ..., user: ...)
}
Retourne : SftpConnection!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
id | ID! | ✓ | — | — |
user | String! | ✓ | — | 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 |
password | String | — | 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
}
}