Skip to content
SoulFire LogoSoulFire

Update server config

PATCH
/v1/server/config

Replaces the entire server configuration with the provided values. This is a bulk update operation primarily used for profile import functionality.

Use this method when you need to apply a complete configuration snapshot, such as when importing settings from a saved profile or restoring a backup. For individual setting changes during normal operation, prefer UpdateServerConfigEntry.

The new configuration is persisted to the database, and runtime hooks are triggered to apply changes immediately (e.g., log level adjustments).

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Request Body

application/json
  1. body

Request message for UpdateServerConfig RPC. Used for bulk configuration updates, typically during profile import operations. This replaces the entire server configuration with the provided values.

config*

The complete new server configuration to apply. This will replace the existing configuration entirely. All settings namespaces and their entries will be overwritten.

Response Body

Response message for UpdateServerConfig RPC.

application/json
  1. response

Response message for UpdateServerConfig RPC. An empty response indicates successful configuration update. The new configuration is persisted to the database and runtime hooks are triggered (e.g., log level adjustments take effect immediately).

Example Request
curl -X PATCH 'http://127.0.0.1:38765/v1/server/config' \
  -H 'Content-Type: application/json' \
  -d '{
  "config": {}
}'
Example Response
{}

Was this page helpful?