MCP Gateway
ApiGeneral settings

Update general settings

Update general application settings. Supports partial updates -- only provided fields are updated.

PUT
/api/v1/settings/general

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://loading/api/v1/settings/general" \  -H "Content-Type: application/json" \  -d '{}'
{
  "log_retention_days": 90
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}