/bff/settings/env-change-variable-value
Updates a configuration variable value. Includes an optimistic concurrency check — oldValue must match the current value or the request is rejected. A history entry is created for audit purposes.
SettingspostBffSettingsEnv-change-variable-value
Parameters
3 body
Body · 3
keystringRequiredConfiguration key to update.
oldValuestringRequiredExpected current value (optimistic concurrency check). Must match the actual value.
newValuestringRequiredNew value to set.
Request
POST /bff/settings/env-change-variable-value
curl -X POST "https://api.bizkithub.com/bff/settings/env-change-variable-value" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"key": "GOOGLE_ANALYTICS_ID",
"oldValue": "example_oldValue",
"newValue": "example_newValue"
}'Response
JSON payload
{
"success": false
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.