PATCH
/
api
/
v1
/
rooms
/
{roomCode}
/
settings
curl --request PATCH \
  --url http://localhost:8787/api/v1/rooms/{roomCode}/settings \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "numQuestions",
  "value": 123
}'
{
  "code": "<string>",
  "id": "<string>",
  "hostId": "<string>",
  "maxPlayers": 123,
  "numQuestions": 123,
  "createdAt": "<string>",
  "endedAt": "<string>",
  "timeLimit": 123
}

Path Parameters

roomCode
string
required
Minimum length: 4

Body

application/json

Response

200
application/json

Room settings updated

The response is of type object.