update_configuration
Change specific values inside an existing configuration. Read the configuration first (get_configuration / search_configuration) and pass the contentHash you read as baseContentHash; the write is rejected if the configuration changed since. Each change is a set (create or overwrite the value at a key path; the parent must exist) or a remove. Keep changes minimal — only the keys that must change — and put every related change for one configuration in a single call. Private keys can be edited and stay private. To make keys private or public, pass privacy (applied after changes, so a new key can be made private in the same call). Private keys are hidden from game clients by the SDK but visible on the dashboard — they keep values like a random seed away from clients; they are not a secret store. The change is saved when this runs (it is not a draft); saving the project's primary configuration pushes it live to connected game servers immediately. Always explain the change in reason; it is recorded with the change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why this change is being made, in one or two sentences a reviewer can judge it by. Shown to the approver. | |
| changes | No | Up to 25 value changes, applied in order. Keep them minimal: only the keys that must change. May be empty when only privacy changes. | |
| privacy | No | Up to 50 keys to make private or public. Private keys are hidden from game clients but not from the dashboard — use them for values clients shouldn't see (a random seed, server-only tuning), not as a secret store. Applied after changes, so a key added by a change can be made private in the same call. | |
| projectId | Yes | The project (application) id to scope this call to. Use list_projects to discover valid ids. | |
| environment | Yes | The environment name to scope this call to (e.g. 'production'). Use list_projects to discover the names available to this token. | |
| baseContentHash | Yes | The contentHash returned by get_configuration / search_configuration for the version you read. The write is rejected if the configuration changed since. | |
| configurationId | Yes | The numeric id of the configuration. |