Change a runtime setting
/ops/settings/{key}Applies to every instance within moments. Send the `version` you read; a newer version returns `setting_version_conflict`.
Path parameters
keystringrequiredRequest body application/json · required
reasonstringWhy; required when reason_required
max length 500valueanyrequiredNew value, as JSON of the setting's kind
versioninteger (int64)requiredVersion last read
≥ 0Responses
constraintsobjectValidation summary such as min, max, one_of, max_len
defaultanyrequiredValue declared in code
descriptionstringrequiredgroupstringrequiredinvalid_stored_valuebooleanrequiredThe stored value fails validation, so the default applies
keystringrequiredkindstringrequiredmodifiedbooleanrequiredA stored value overrides the default
reason_requiredbooleanrequiredrestart_pendingbooleanrequiredrestart_requiredbooleanrequiredupdated_atstring (date-time)updated_bystringvalueanyrequiredEffective value
versioninteger (int64)requiredSend back when changing the setting
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type