update_game_config
Set a game's allowed-origins allowlist AFTER creation (by gameId — from list_games). Restricts browser score submissions to specific web origins: an exact origin like "https://yourgame.com" or a wildcard host like "*.yourgame.com" (up to…
Instructions
Set a game's allowed-origins allowlist AFTER creation (by gameId — from list_games). Restricts browser score submissions to specific web origins: an exact origin like "https://yourgame.com" or a wildcard host like "*.yourgame.com" (up to 20). Pass an empty array to allow all origins (the default). Returns the normalized stored list. Gates browser requests only — server-to-server calls send no Origin header.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gameId | Yes | UUID of the game (from list_games) | |
| allowedOrigins | Yes | Origin patterns — exact https origin or *.host wildcard, validated server-side. Full replacement of the allowlist; [] allows all origins. |