Skip to main content
POST
Update project settings

Authorizations

api-key
string
header
required

Body

application/json

Project settings to update. All fields are optional — only include what you want to change. Omitted fields remain unchanged.

port_configs
object[]

Network port configuration for all servers in this project (max 10 ports). Defines which ports PlayFlow allocates for each server.

Maximum array length: 10
auth_config
object

Player authentication provider configuration. Determines how player tokens are verified.

environment_variables
object

Default environment variables injected into every game server. Can be overridden per-server at start time.

pool_config
object

Server pool configuration for reducing cold-start latency. Set to { enabled: false, regions: {} } to disable pooling.

lobby_configs
object[]

Lobby and matchmaking configuration. Defines lobby types, team structures, and matching rules (max 20).

Maximum array length: 20

Response

Updated project settings (returns all fields, including unchanged ones).

Complete current project settings including ports, auth, environment, pool, and lobby configurations.

port_configs
object[]
required

Current network port configuration for the project.

auth_config
object
required

Current player authentication configuration.

environment_variables
object
required

Current default environment variables for all servers.

pool_config
object | null
required

Current server pool configuration. Null if pooling has never been configured.

lobby_configs
object[]
required

Current lobby and matchmaking configurations.

updated_at
string<date-time>
required

ISO 8601 timestamp of the last settings update.