Update an environment
Updates specific environment properties, such as its name and variables.
**Note:**
- You can only perform one type of operation at a time. For example, you cannot perform an `add` and `replace` operation in the same call.
- The request body size cannot exceed the maximum allowed size of 30MB.
- If you receive an HTTP `411 Length Required` error response, manually pass the `Content-Length` header and its value in the request header.
- To add a description to an existing variable, use the `add` operation.
Authentication
x-api-keystring
API Key authentication via header
OR
Authorizationstring
A valid [SCIM API key](https://learning.postman.com/docs/administration/scim-provisioning/scim-provisioning-overview/#generating-scim-api-key) for calls to SCIM endpoints.
OR
AuthorizationBasic
Basic authentication of the form Basic <base64(username:password)>.
Path parameters
environmentId
The environment's ID.
Request
This endpoint expects a list of objects.
Add Variable
OR
Update Environment Name
OR
Update Variable
OR
Remove Variable
Response
Successful Response
environment
Information about the environment.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
411
Length Required Error
413
Content Too Large Error