Skip to main content
PATCH
Update environment file

Authorizations

Authorization
string
header
required

Organization or personal API key from Settings → API Keys.

Headers

X-Replicas-Api-Version
enum<string>

API version. 2026-10-07 returns snake_case responses. See versioning.

Available options:
2026-10-07

Path Parameters

environment_id
string
required

Environment UUID, or the literal string global.

id
string<uuid>
required

File UUID

Body

application/json

Request body for updating an environment file. Only provided fields are changed.

name
string
path
string
content
string

Response

File updated

environment_file
object
required

A file dropped into the workspace at the configured path when the workspace is provisioned.