Skip to content
SoulFire LogoSoulFire

Update instance config

PATCH
/v1/instances/{id}/config

Replaces the entire instance configuration. Used primarily for profile import operations. For individual setting changes, use UpdateInstanceConfigEntry instead.

Authorization

headerAuthorizationBearer <JWT>

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

Path Parameters

id*string

The unique identifier (UUID) of the instance to update.

Formatuuid

Request Body

application/json
  1. body

Request to replace the entire instance configuration. This is typically used for profile import operations. For individual setting changes, use UpdateInstanceConfigEntry instead.

config*

The complete new configuration to replace the existing one. Includes settings, accounts, and proxies.

Response Body

Response after successfully updating instance configuration.

application/json
  1. response

Response after successfully updating instance configuration. Empty response indicates success.

Example Request
curl -X PATCH 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/config' \
  -H 'Content-Type: application/json' \
  -d '{
  "config": {}
}'
Example Response
{}

Was this page helpful?