Documentation

Unity Gaming Services CLI


GitHub Repository

Unity Gaming Services CLI


Config Update

Update an existing lobby config in Remote Config.
Read time 1 minuteLast updated 21 hours ago

Update an existing lobby config in Remote Config. Authentication Required:
Yes
ugs lobby config update <config-id> <body> [options]

Arguments

<config-id>
The ID of the config to update.
<body>
The JSON body containing the updated config value. If this is a file path, the content of the file is used; otherwise, the raw string is used.

Options

Alias

Description

project-id-p, --project-idThe Unity cloud project ID.
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.

Body option

The body option must include the type and values array of a config to update. No other data should be present. For example:
{ "type": "lobby", "value": [ { "key": "lobbyConfig", "type": "json", "schemaId": "lobby", "value": { "someBoolValue": false, "someIntegerValue": 30, "someObject": { "maximum": 8, "minimum": 4 } } } ]}