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

3 body

3 total
Body · 3
keystringRequired

Configuration key to update.

oldValuestringRequired

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

newValuestringRequired

New value to set.

Request

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

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.

Get API Key