---
title: "Patch Settings Ep"
method: PATCH
path: "/tenant/settings"
tags: ["tenant"]
---

# Patch Settings Ep

`PATCH /tenant/settings`

## Request

- Base URL: `https://api.agent4.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.agent4.io/tenant/settings`
- Auth: none declared

## Request body

- TenantSettingsPatch
  - `name` string, nullable
  - `alias` string, nullable
  - `auth_mode` string, nullable
  - `profile` object, nullable
  - `onboarding_config` object, nullable

## Response `200`

Successful Response

- TenantSettingsOut
  - `tenant_id` string, required
  - `name` string, required
  - `alias` string, nullable
  - `alias_prefix` string
  - `auth_mode` string, required
  - `privacy_mode` boolean, required
  - `status` string, required
  - `profile` object, nullable
  - `onboarding_config` object, nullable
  - `oauth` object[]
  - `smtp` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agent4/apis/chatagent-platform.md) · [All operations](https://skmtc.dev/agent4/apis/chatagent-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/agent4/apis/chatagent-platform/revisions/18e58f082ce3?raw)
