Environments

Creates a named, workspace-scoped environment. The supplied .env payload is validated, sealed under the workspace key, and never returned by any read path.

post/experimental/environments

Headers

Authorizationstring

Request body

workspaceNamestring required
namestring required
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 3 of the 55 revisions of this API.8

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the new optional request property /

      new-optional-request-property

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the required property // to the response with the status

      response-required-property-added

    • ○

      added the new optional request property /

      new-optional-request-property

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the required property // to the response with the status

      response-required-property-added