Update instance config entry
Это руководство доступно только на английском.
Updates a single configuration entry by namespace and key. More efficient than UpdateInstanceConfig for individual changes.
AuthorizationBearer <JWT>Preferred API authentication. Use a JWT with the api audience.
id*stringThe unique identifier (UUID) of the instance to update.
uuidnamespace*stringThe namespace of the setting (e.g., "bot", "account", plugin ID).
key*stringThe key of the setting within the namespace.
application/json- body
Request to update a single configuration entry. This is the preferred method for individual setting changes as it is more efficient than replacing the entire configuration.
value*unknownThe new value for the setting. Supports JSON value types (string, number, boolean, null, array, object).
Response after successfully updating a configuration entry.
application/json- response
Response after successfully updating a configuration entry. Empty response indicates success.
curl -X PUT 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/config/namespaces/string/entries/string' \
-H 'Content-Type: application/json' \
-d '{
"value": null
}'{}Полезна ли эта страница?
Update instance config PATCH
Replaces the entire instance configuration. Used primarily for profile import operations. For individual setting changes, use UpdateInstanceConfigEntry instead.
Update instance metadata PATCH
Updates instance metadata (friendly name or icon). Only one field can be updated per request.
