# Choose which demo games a vendor shows ```http PATCH https://api.onehazel.com/onehazel-api/operators/me/surfaces/demo/{key} ``` Sets which of a demo-activated vendor's games the operator's Lobby shows. Body: `{ "game_codes": ["", ...] }` to show those games, `[]` to show none, or `null` to show every game. Codes must come from the vendor's demo game list; duplicates are ignored; at most 500. Only the Lobby display is filtered, not demo launch. Session sign-in only, owner or admin of the operator account. Answers 200 with `{ key, game_codes }`, 404 `SURFACE_DEMO_NOT_ACTIVE` when demo mode is off for that vendor, or 400 `SURFACE_DEMO_GAME_UNKNOWN` with `details.unknown` listing up to 20 unknown codes. Section: [Surfaces](./) Operation id: `patchOperatorsMeSurfacesDemoByKey` ## Authentication Signed-in session token (`Authorization: Bearer `). ## Parameters | Name | In | Required | Description | |---|---|---|---| | `key` | path | yes | | ## Request body JSON object. ## Responses `200` `{ "success": true, "data": ... }` Errors return `{ "success": false, "error": { "code": "...", "message": "..." } }` with a 4xx or 5xx status. ## Example ```bash curl -X PATCH "https://api.onehazel.com/onehazel-api/operators/me/surfaces/demo/{key}" \ -H "Authorization: Bearer YOUR_SESSION_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` Machine-readable: [openapi.yaml](/openapi.yaml), [openapi.json](/openapi.json).