API reference/Ops: settings
Change a runtime setting
PUT
/ops/settings/{key}
Applies to every instance within moments. Send the
version you read; a newer version returns setting_version_conflict.Authorization
bearerAuthorizationheader · stringrequired
Session token from POST /v1/auth/login with "transport": "bearer". Browsers use the session cookie that login sets instead.
Path
keystringrequired
maxLength: 200Body
application/jsonvalueanyrequired
New value, as JSON of the setting's kind
versionintegerrequired
Version last read
format: int64minimum: 0reasonstring
Why; required when reason_required
maxLength: 500Responses
errors: application/problem+json200
OK
401
Unauthorized
403
Forbidden
404
Not Found
409
Conflict
422
Unprocessable Entity
500
Internal Server Error
Match errors on the problem's code, which stays the same, not on its message.