Skip to content

Create Env

POST
/applications/{uuid}/envs

Create env by application UUID.

Authorizations

Parameters

Path Parameters

uuid
required
string format: uuid

UUID of the application.

Request Body required

Env created.

object
key

The key of the environment variable.

string
value

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 created.

object
uuid
string
nc0k04gk8g0cgsk440g0koko

400

Invalid token.

object
message
string
Invalid token.

401

Unauthenticated.

object
message
string
Unauthenticated.

404

Resource not found.

object
message
string
Resource not found.