Environments

Update Environment Variable

Updates a variable. Only provided fields are changed. Source-backed personal environments can override inherited variable keys only when the inherited variable has personal_override_allowed: true.

patch/v1/environments/{environmentId}/variables/{id}

Request

  • Base URL
    https://api.tryreplicas.com
  • URL
    https://api.tryreplicas.com/v1/environments/{environmentId}/variables/{id}
  • Auth
    HTTP bearer

Path parameters

environmentIdstring required

Environment UUID, or the literal string global.

idstring uuid required

Variable UUID

Request body

keystring
valuestring
personal_override_allowedboolean

Team/Global variables only. Allows source-backed personal environments to override this inherited key.

Response

Variable updated

Changes

No recorded changes to this operation across all 1 revision of this API.