Applications Env Vars

Create environment variable

Create a new environment variable for a project

post/applications/v1/projects/{id}/env

Path parameters

idstring required

Project ID

Request body

keystring required

Environment variable name

valuestring required

Environment variable value

targetstring[] required

Deployment targets for this variable

type'plain' | 'encrypted' | 'secret'

Variable type

gitBranchstring

Specific git branch (for preview deployments)

Response

Success

Changes