MCP Gateway
ApiPortal

Update portal settings

Update portal branding settings. Requires admin role. Only provided fields are updated (partial update).

PUT
/api/v1/portal/settings

Authorization

User API Key
AuthorizationBearer <token>

User API key (mgw_usr_live_* or mgw_usr_test_*)

In: header

access_token?|

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/portal/settings" \  -H "Content-Type: application/json" \  -d '{}'
{
  "logo_url": "string",
  "primary_color": "#6366f1",
  "dark_mode_default": true
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}