Skip to main content
PUT
Admin Put Settings

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

lang
string
默认值:en

Language for labels and help: 'zh' or 'en'.

请求体

application/json

Settings to write, keyed by setting key.

Non-secrets may be submitted as a whole snapshot. A secret keeps its current value when sent as "unchanged", and is cleared by an empty string.

values
Values · object

响应

Successful Response

fleet_kinds
string[]
groups
string[]
sections
SettingsSectionOut · object[]
items
SettingItemOut · object[]
restart_required_changed
string[]