projects
Create one or more environment variables
Create one or more environment variables for a project by passing its key
, value
, type
and target
and by specifying the project by either passing the project id
or name
in the URL. If you include upsert=true
as a query parameter, a new environment variable will not be created if it already exists but, the existing variable’s value will be updated.
POST
Authorizations
Default authentication mechanism
Path Parameters
The unique project identifier or the project name
Example:
"prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA"
Query Parameters
Allow override of environment variable if it already exists
Example:
"true"
The Team identifier to perform the request on behalf of.
Example:
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
Example:
"my-team-url-slug"
Body
application/json
Response
201
application/json
The environment variable was created successfully
The response is of type object
.