Set of operations available to create and update 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
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectNamestring · requiredThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
branchNamestring · requiredThe name of the branch in your source control provider.
Request Body
namestring · requiredThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
Example: APP_ENVIRONMENT_KEYisSecretboolean · requiredWhether the variable is a secret.
Example: truevaluestring · requiredThe value of the variable.
Responses
The request has succeeded and a new resource has been created as a result.
branchstring · readOnly · requiredExample: previewcreatedOnstring · date-time · readOnly · requiredWhen the item was created.
Example: 2023-04-18T05:54:34.408ZupdatedOnstring · date-time · readOnly · requiredWhen the item was last updated.
Example: 2023-04-20T05:54:34.408Znamestring · requiredThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
Example: APP_ENVIRONMENT_KEYisSecretboolean · requiredWhether the variable is a secret.
Example: truevaluestring · requiredThe value of the variable.
Updates a variable
Update the value of a variable in a branch for a given project.
path Parameters
accountNamestring · requiredThe name of the account. You can find this in your Zuplo Portal under Settings > Project Information.
projectNamestring · requiredThe name of the project. You can find this in your Zuplo Portal under Settings > Project Information.
branchNamestring · requiredThe name of the branch in your source control provider.
variableNamestring · requiredThe name of the environment variable.
Responses
The request has succeeded.
branchstring · readOnly · requiredExample: previewcreatedOnstring · date-time · readOnly · requiredWhen the item was created.
Example: 2023-04-18T05:54:34.408ZupdatedOnstring · date-time · readOnly · requiredWhen the item was last updated.
Example: 2023-04-20T05:54:34.408Znamestring · requiredThe name of the variable. Must be named in SCREAMING_SNAKE_CASE.
Example: APP_ENVIRONMENT_KEYisSecretboolean · requiredWhether the variable is a secret.
Example: truevaluestring · requiredThe value of the variable.