跳到主要内容
版本:v0.6

Update a setting.

Update a setting.

Update a setting.

Path Parameters
    setting string required
Request Body required
    value string
Responses

Accepted


Schema
    message string
    status integer

    Default value: 202

    statusText string

    Default value: Accepted

PUT /v1/settings/:setting

Authorization

name: BasicAuthtype: httpdescription: Basic Authentication, in form of base64(<username>:<password>), the password must be a valid Seal API token.in: headerscheme: basic

Request

Security Scheme
Username
Password
setting — path required
Body required
{
"value": "string"
}
curl / cURL
curl -L -X PUT 'https://seal-io.github.io/v1/settings/:setting' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"value": "string"
}'