---
title: "PUT /api/games/{id}"
method: PUT
path: "/api/games/{id}"
tags: ["api/games"]
---

# PUT /api/games/{id}

`PUT /api/games/{id}`

## Request

- Base URL: `http://localhost:5002`
- URL: `http://localhost:5002/api/games/{id}`
- Auth: none declared. Required headers: `userid`, `authorization`

## Path parameters

- `id` string, required

## Headers

- `userid` string, required
- `authorization` string, required

## Request body

- Model16
  - `collaborators` string[]
  - `edit_state` Metadata
  - `orientation` string
  - `description` string
  - `sound` string
  - `title` string
  - `custom_fields` Metadata
  - `poster` string
  - `status` 'publish' | 'draft'
  - `category` Metadata
  - `featured` boolean
  - `sequence` number
  - `levels` string[]
  - `non_repeating_assets` string[]
  - `url` string
  - `game_type` string
  - `tags` string[]
  - `search_keywords` string[]
  - `collect_data` boolean
  - `rtl` boolean
  - `template_id` string, required
  - `perma_link` string
  - `thumbnails` Metadata[]
  - `auto_thumbnails` boolean

## Response `default`

Successful

---

[API](https://skmtc.dev/breshna/apis/breshna-backend-apis.md) - [All operations](https://skmtc.dev/breshna/apis/breshna-backend-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/breshna/apis/breshna-backend-apis/revisions/c1038f1781fe?raw)
