BizKitHub
DocsAPI ReferenceSettings/bff/settings/env-change-variable-value
postSettingsAdmin BFF

/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

JSON body

Request body

application/json
keystringRequired

Configuration key to update.

ExampleGOOGLE_ANALYTICS_ID
oldValuestringRequired

Expected current value (optimistic concurrency check). Must match the actual value.

newValuestringRequired

New value to set.

Response schema

1 status code documented

200Success
successbooleanRequired

Whether the value was changed successfully.

Response example

application/json
{
  "success": false
}

Request example

POST /bff/settings/env-change-variable-value

post
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"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key