Environments

Replaces an environment's sealed value in place. The new .env payload is validated, sealed under the workspace key, and never returned.

put/experimental/environments/{id}

Path parameters

idstring uuid required

Headers

Authorizationstring

Request body

envFilestring

Raw .env file contents (KEY=VALUE per line). Blank lines and # comments are ignored. Mutually exclusive with entries.

entriesobject

Environment variables as a KEY=VALUE map. Mutually exclusive with envFile.

Response

Default Response

Changes

Changed in 1 of the 25 revisions of this API.3

    • added the new optional request property metadata/mcpServerNames

      new-optional-request-property

    • added the optional property data/attributes/metadata/anyOf[subschema #1]/mcpServerNames to the response with the 200 status

      response-optional-property-added

    • added the required property data/attributes/mcpServerNames to the response with the 200 status

      response-required-property-added