v2
post/update-db-target-details
Request body
db-typestring
hoststring
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
mongo-db-namestring
mongo-uristring
namestring required
Target name
new-versionboolean
Deprecated
portstring
protection_keystring
The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
pwdstring
tokenstring
Authentication token (see /auth and /configure)
uid-tokenstring
The universal identity token, Required only for universal_identity authentication
user-namestring
Response
updateTargetResponse wraps response body.
updatedboolean