Update Configs
Update application configuration settings. This endpoint allows you to modify the current settings by providing a JSON payload with the updated values.
PUT /api/settingsRequest Body
The request body should be a JSON object (JsonNode) containing the configuration settings you want to update.
{
"name": "BshEngine",
"api": {
"auth": {
"enableRegister": true
},
"response": {
"showSql": false
}
}
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Always BshEngine |
api.auth.enableRegister | boolean | Yes | Whether to enable the register feature |
api.response.showSql | boolean | Yes | Whether to show the SQL queries in the responses |
Important: When updating nested configuration objects (such as api.auth), your provided payload will completely replace the entire target object. This means any omitted properties will be lost. Be sure to include all configuration fields you wish to retain, not just those you want to change.