Update instance config entry
Updates a single configuration entry by namespace and key. More efficient than UpdateInstanceConfig for individual changes.
Updates a single configuration entry by namespace and key. More efficient than UpdateInstanceConfig for individual changes.
Preferred API authentication. Use a JWT with the api audience.
In: header
Path Parameters
The unique identifier (UUID) of the instance to update.
The namespace of the setting (e.g., "bot", "account", plugin ID).
The key of the setting within the namespace.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "http://127.0.0.1:38765/v1/instances/:id/config/namespaces/:namespace/entries/:key" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}{
"code": 0,
"grpc-code": "string",
"message": "string",
"stack-trace": "string",
"details": [
{}
]
}How is this page?
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.