Update Application Setting
Changed onUpdates the value of a specific application setting. The new value is validated against the setting's constraints and persisted to the application database.
Security Note: Admin session authentication required for system configuration changes.
Request
- Base URL: http://localhost:1135
- URL: http://localhost:1135/bodhi/v1/settings/{key}
- Auth: OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback, scopes: resource_admin)
Path parameters
Setting key identifier (e.g., BODHI_LOG_LEVEL, BODHI_PORT)
Request body
Example request
{
"value": "debug"
}Response
Setting updated successfully
Changes
- breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking