Updates a non-global environment. Only provided fields are changed. PATCH /v1/environments/global returns 400 with a pointer to the nested resource endpoints (variables, files, skills, MCPs, warm hooks) — the Global env’s metadata cannot be edited directly. Returns 409 when an automation still references the environment in a way that blocks the requested change.
Documentation Index
Fetch the complete documentation index at: https://docs.replicas.dev/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication. Obtain your API key from the Replicas dashboard under Settings > API Keys.
Environment UUID. The literal global is rejected with 400 — see endpoint description.
Environment updated
An environment — the config bundle workspaces are created from. Holds an optional repository binding plus the runtime variables, files, skills, MCPs, and warm hook applied to every workspace built from it. Every organization has a singleton Global environment (is_global: true) whose values are layered onto every other environment.