Variables
Set of operations available to create, update, and delete environment variables. You can learn more about environment variables here.
Creates a variable
Creates a new environment variable in a branch for a given project.
path Parameters
accountNameThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectNameThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
branchNameThe name of the branch in your source control provider.
Creates a variable › Request Body
nameThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
isSecretWhether the variable is a secret.
valueThe value of the variable.
Creates a variable › Responses
The request has succeeded and a new resource has been created as a result.
branchcreatedOnWhen the item was created.
updatedOnWhen the item was last updated.
nameThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
isSecretWhether the variable is a secret.
valueThe value of the variable.
Updates a variable
Update the value of a variable in a branch for a given project.
path Parameters
accountNameThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectNameThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
branchNameThe name of the branch in your source control provider.
variableNameThe name of the environment variable.
Updates a variable › Responses
The request has succeeded.
branchcreatedOnWhen the item was created.
updatedOnWhen the item was last updated.
nameThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
isSecretWhether the variable is a secret.
valueThe value of the variable.
Deletes a variable
Deletes an environment variable for a given project, selected by branch. On the project's default branch this selects the variable that targets production; on any other branch it selects the variable scoped to that branch. The whole variable is deleted from every environment it targets, not only from this branch. A preview variable that applies to all branches can't be addressed from any branch and returns 404. On a project with no default branch, only branch-scoped variables can be addressed, so a production variable returns 404. Redeploy the environment to pick up the change.
path Parameters
accountNameThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectNameThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
branchNameThe name of the branch in your source control provider.
variableNameThe name of the environment variable.
Deletes a variable › Responses
There is no content to send for this request, but the headers may be useful.