v1

latestOpenAPI 3.0.02026-07-246171,3332.1 MB
v2

post/create-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

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

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

use-tlsstring

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

usernamestring required

Privileged username

Response

createWindowsTargetResponse wraps response body.

target_idinteger