2020-10-09 11:07:25 -04:00
put :
tags :
- admin
summary : update configuration setting
description : This operation updates a configuration setting in the backend. The calling user must have the `admin:settings` privilege (or be a superadmin) in order for this call to proceed.
parameters :
- in : path
name : setting
schema :
type : string
required : true
description : backend id of the setting to update
2020-10-24 12:40:52 -04:00
example : maximumRelatedTopics
2020-10-27 10:20:58 -04:00
requestBody :
required : true
content :
application/json :
schema :
type : object
properties :
value :
type : string
description : the value of the new setting
example : 2
2020-10-09 11:07:25 -04:00
responses :
'200' :
description : Admin setting updated
content :
application/json :
schema :
type : object
properties :
status :
$ref : ../../../components/schemas/Status.yaml#/Status
response :
type : object
properties : {}