Resources | node | system | admin | sftpUserPassword | changeSftpPassword

changeSftpPassword

change the sftp user password.

Input Params

NameMandatoryDefaultDescription
userNameO The sftp user name.
oldPasswordM The old sftp password.
newPasswordM The new sftp password.

Output Params

NameDescription
result
reason
RESTCONF API: POST Example

curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/operations/sonusNodeList:node={nodeName}/sonusNodeListSystem:system/admin={name}/sftpUserPassword/changeSftpPassword --data '
<changeSftpPassword>
     <oldPassword>{oldPassword}</oldPassword>
     <newPassword>{newPassword}</newPassword>
</changeSftpPassword>
'

  • No labels