Skip to content

Update Env

PATCH
/applications/{uuid}/envs

Update env by application UUID.

Authorizations

Parameters

Path Parameters

uuid
required
string format: uuid

UUID of the application.

Request Body required

Env updated.

object
key
required

The key of the environment variable.

string
value
required

The value of the environment variable.

string
is_preview

The flag to indicate if the environment variable is used in preview deployments.

boolean
is_build_time

The flag to indicate if the environment variable is used in build time.

boolean
is_literal

The flag to indicate if the environment variable is a literal, nothing espaced.

boolean
is_multiline

The flag to indicate if the environment variable is multiline.

boolean
is_shown_once

The flag to indicate if the environment variable’s value is shown on the UI.

boolean

Responses

201

Environment variable updated.

object
message
string
Environment variable updated.

400

Invalid token.

object
message
string
Invalid token.

401

Unauthenticated.

object
message
string
Unauthenticated.

404

Resource not found.

object
message
string
Resource not found.