updateEnvironment
Modify an existing environment for a test target, updating credentials, headers, or discovery URL.
Instructions
the updateEnvironment tool can update an environment for a given test target. an environment represents a specific setup or deployments for a test target. It include a test account when necsesary to login, a header configuration, a discovery url and a set of variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional new name for the environment | |
| basicAuth | No | Optional basic authentication credentials, if discovery needs authentication | |
| testAccount | No | Optional test account credentials, if discovery needs authentication | |
| discoveryUrl | No | Optional new discovery URL | |
| testTargetId | Yes | Unique identifier of the test target | |
| environmentId | Yes | Unique identifier of the environment | |
| privateLocationName | No | Optional name of the private location, if discovery needs to discover in a private location e.g. behind a firewall or VPN | |
| additionalHeaderFields | No | Optional additional HTTP header fields, if discovery needs additional headers to be set |