Skip to Content
🎉 New release with new features and improvements! V0.0.2 Release →

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/settings

Request 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

ParameterTypeRequiredDescription
namestringYesAlways BshEngine
api.auth.enableRegisterbooleanYesWhether to enable the register feature
api.response.showSqlbooleanYesWhether 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.