Update setting
PUT
/settings/{key}Contract
Parameter | Value |
|---|---|
| Section | settings |
| Authentication | CookieAuth |
| Consumes | application/json |
| Produces | application/json |
Parameters
2 parameters
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| key | path | yes | string | Setting key |
| request | body | yes | object | New value: {value: string} |
{}
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Successful response | no body |
400 | Key is required or the request body is invalid | object |
401 | Unauthorized | object |
500 | Internal server error | object |
{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }