v1

latestOpenAPI 3.0.02026-07-246171,3332.1 MB
v2

post/update-windows-target

Request body

certificatestring

SSL CA certificate in base64 encoding generated from a trusted Certificate Authority (CA)

connection-typestring

Type of connection to Windows Server [credentials/parent-target]

descriptionstring

Description of the object

domainstring

User domain name

hostnamestring required

Server hostname

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

parent-target-namestring

Name of the parent target, relevant only when connection-type is parent-target

passwordstring required

Privileged user password

portstring

Server WinRM port

tokenstring

Authentication token (see /auth and /configure)

uid-tokenstring

The universal identity token, Required only for universal_identity authentication

update-versionboolean

Deprecated

use-tlsstring

Enable/Disable TLS for WinRM over HTTPS [true/false]

usernamestring required

Privileged username

Response

updateWindowsTargetResponse wraps response body.

UpdateWindowsTargetOutput required