MCP Gateway
ApiGeneral settings

Reset all settings

Reset ALL settings to defaults: log retention, AI providers, and registry credentials. This is a destructive operation.

POST
/api/v1/settings/general/reset

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

access_token?|

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/settings/general/reset"
{
  "log_retention_days": 90
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}