Update the environment.
  PATCH /v1/accounts/{account}/apps/{app}/environments/{environment}    
 Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Name of your WP Engine Headless Platform account
Name of your Headless Platform application
ID of your environment
Query Parameters
Section titled “Query Parameters ”If set, validate the request (domains only) and preview the review, but do not actually post it.
Request Body
Section titled “Request Body ”Name of the environment to update.
(— The Environment’s name field is used to identify the Environment to be
updated.
Format: accounts/{account}/apps/{app}/environments/{environment} —)
(— The Environment’s name field is used to identify the Environment to be
updated.
Format: accounts/{account}/apps/{app}/environments/{environment} —)
object
The branch name from which the Environment is going to be built. In case of using .zip upload, the value should equal to uploadable
A Build describes steps taken to deploy (activate) the Environment. Format is: `accounts/{account}/apps/{app}/builds/{build}
The timestamp when the environment was created.
A name of the Environment used for display purposes
A list of domains associated with the Environment.
An Environment is marked as reconciling if its current state does not match the user’s requested intended state (as seen via GetEnvironmentSpec), and the system is working to reconcile them.
Root directory in which customer code is located.
A list of environment variables available in the environment’s container.
Environment variable represents a value available in the environment’s container under the specific key.
object
Environment variable value.
The timestamp when the environment was most recently updated. This value changes every time when user modifies this resource. It may also change when the service modifies the resource, but this is not currently guaranteed.
Name of the WordPress environment linked with this Environment. The Environment will have the same access visibility as wp_environment.
Responses
Section titled “ Responses ”A successful response.
This resource represents a long-running operation that is the result of a network API call
object
Information if the operation is done or still in progress
Long running operation metadata
object
A URL/resource name that uniquely identifies the type of the serialized protocol buffer message
Build name in the format of: accounts/{account}/apps/{app}/environments/{environment}/builds/{build}
Environment ID
Operation name in the format of: accounts/{account}/apps/{app}/environments/{environment}/operations/{operation}