Skip to main content

Create project environment variable

POST 

/api/projects/:project_id/env-vars

Adds an environment variable to the project, as a literal value, drawn from a credential, or a Port (source port): no value, the node gives each slot a free port, trying port_preferred (1024 to 65535) first when set; a Port variable is project-wide only (422 for a personal one, a name Jaah sets on every slot, or a preferred port inside the organization's auto-assign range). A project default requires project edit permission; anyone who can view the project may add their own override. Returns 201 with the variable.

Request​

Responses​

Created