Update Environment
Update one or more fields on an existing environment
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Update one or more fields on an existing environment
PATCH /v1/environments/:id
| Parameter | Type | Description |
|---|---|---|
id | uuid | The environment ID |
| Field | Type | Description |
|---|---|---|
name | string | Machine-friendly name (must match ^[a-z0-9_-]+$) |
display_name | string | Human-friendly display name |
description | string | Description |
color | string | Hex color code |
is_default | boolean | Set as default environment |
| Status | Type | Description |
|---|---|---|
| 400 | validation_error | Invalid name format |
| 404 | not_found | Environment not found |
| 409 | conflict | An environment with this name already exists |
Was this page helpful?