Set environment variables
Add or update environment variables, including Gradle private registry variables such as ORG_GRADLE_PROJECT_*. An environment variable that already exists is overwritten. Keys omitted from the request are left unchanged. This endpoint does not delete environment variables.
post/repositories/code/environment-variables
Request
- Base URLhttps://app.aikido.dev/api/public/v1
- URLhttps://app.aikido.dev/api/public/v1/repositories/code/environment-variables
- AuthOAuth 2Client credentialsToken URL: https://app.aikido.io/api/oauth/token scopes: repositories:write
Request body
Example request
{
"env_vars": [
{
"key": "ORG_GRADLE_PROJECT_mavenRepoPassword",
"value": "secret"
}
]
}Response
The environment variables have been stored.
Example response
{
"success": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.