Edit Game

This endpoint allows you to update the properties of an existing game.

Game Model

idstring (path param)

ID of the game to update.

namestring

Updated name of the game (optional).

genrestring

Updated genre of the game (optional).

release_datestring

Updated release date in ISO format (optional).

PUT/v1/games/:id

Update an existing game

curl -X PUT https://api.vembric.chat/v1/games/game_xyz123 \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Puzzle Hero Remastered",
    "release_date": "2024-01-15"
  }'

Sample Response

{
  "id": "game_xyz123",
  "name": "Puzzle Hero Remastered",
  "genre": "Puzzle",
  "release_date": "2024-01-15",
  "developer": "Logic Labs",
  "updated_at": "2025-08-03T12:00:00Z"
}