Skip to content

Bulk set/replace environment variables

PUT
/api/v3/organizations/{api_organisation}/applications/{api_application}/environments/{api_environment}/variables
curl --request PUT \
--url https://dashboard.quantcdn.io/api/v3/organizations/test-org/applications/test-app/environments/test-env/variables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "environment": [ { "name": "example", "value": "example" } ] }'
api_organisation
required
string

The organisation ID

Example
test-org
api_application
required
string

The application ID

Example
test-app
api_environment
required
string

The environment ID

Example
test-env
Media typeapplication/json
object
environment
required
Array<object>
object
name
required
string
value
required
string
Examplegenerated
{
"environment": [
{
"name": "example",
"value": "example"
}
]
}

Environment variables set/replaced successfully