mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 01:45:47 +01:00
25 lines
765 B
YAML
25 lines
765 B
YAML
|
|
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
|
||
|
|
responses:
|
||
|
|
'200':
|
||
|
|
description: Admin setting updated
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
type: object
|
||
|
|
properties:
|
||
|
|
status:
|
||
|
|
$ref: ../../../components/schemas/Status.yaml#/Status
|
||
|
|
response:
|
||
|
|
type: object
|
||
|
|
properties: {}
|