v1
latestOpenAPI 3.0.02026-07-246171,3332.1 MBv2
post/update-ssh-target
Request body
descriptionstring
Description of the object
hoststring
SSH host name
jsonboolean
Set output format to JSON
keep-prev-versionstring
Whether to keep previous version [true/false]. If not set, use default according to account settings
keystring
The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
max-versionsstring
Set the maximum number of versions, limited by the account settings defaults.
namestring required
Target name
new-namestring
New target name
portstring
SSH port
private-keystring
SSH private key
private-key-passwordstring
SSH private key password
ssh-passwordstring
SSH password to rotate
ssh-usernamestring
SSH username
tokenstring
Authentication token (see /auth and /configure)
uid-tokenstring
The universal identity token, Required only for universal_identity authentication
update-versionboolean
Deprecated
Response
updateSSHTargetResponse wraps response body.
target_idinteger