---
title: "Set Game Configuration"
method: POST
path: "/api/manageGame/setGameConfig"
tags: ["Manage Game"]
---

# Set Game Configuration

`POST /api/manageGame/setGameConfig`

## Request body

- GameConfigDto
  - `gameName` string, required — The name of the game
  - `newConfig` string, required — New game configuration

## Response `200`

Game configuration set successfully.

## Other responses

- `400` — Failed to set the game configuration.

---

[API](https://skmtc.net/openwebgal/apis/webgal-terre-api.md) · [All operations](https://skmtc.net/openwebgal/apis/webgal-terre-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openwebgal/webgal-terre-api/versions/ebcacb42f932/schema)
