Update an environment
update_environmentUpdate an environment's name, default status, or variable values, replacing supplied values in full. Marking it default unsets the previous default environment.
Instructions
Update an environment's name, default flag, and variable values. Only the fields supplied are changed; omitted fields are left untouched. The supplied values replace the existing values in full — they are not merged. Marking an environment as the default automatically unsets the previous default environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| values | No | ||
| defaultEnv | No | ||
| environment_id | Yes | ||
| X-Orchestra-Account-Id | No | Act on this account rather than the one the credential resolves to. Omit it to use the credential's own account. An API key is issued to a single account, so it may only name that account; an OAuth token may name any account its grant covers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||