Variables
Set of operations available to create and update environment variables. You can learn more about environment variables here.
https://dev.zuplo.com
Creates a variable
Creates a new environment variable in a branch for a given project.
path Parameters
accountName
string · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectName
string · requiredThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
branchName
string · requiredThe name of the branch in your source control provider.
Request Body
name
string · requiredThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
isSecret
boolean · requiredWhether the variable is a secret.
value
string · requiredThe value of the variable.
Responses
branch
string · readOnly · requiredcreatedOn
string · date-time · readOnly · requiredWhen the item was created.
updatedOn
string · date-time · readOnly · requiredWhen the item was last updated.
name
string · requiredThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
isSecret
boolean · requiredWhether the variable is a secret.
value
string · requiredThe value of the variable.
Updates a variable
Update the value of a variable in a branch for a given project.
path Parameters
accountName
string · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectName
string · requiredThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
branchName
string · requiredThe name of the branch in your source control provider.
variableName
string · requiredThe name of the environment variable.
Request Body
value
stringThe value of the variable.
Responses
branch
string · readOnly · requiredcreatedOn
string · date-time · readOnly · requiredWhen the item was created.
updatedOn
string · date-time · readOnly · requiredWhen the item was last updated.
name
string · requiredThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
isSecret
boolean · requiredWhether the variable is a secret.
value
string · requiredThe value of the variable.