---
title: "Update Org Settings"
method: PATCH
path: "/api/organization/settings"
tags: ["organization"]
---

# Update Org Settings

`PATCH /api/organization/settings`

## Request

- Base URL: `https://www.gateco.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://www.gateco.ai/api/organization/settings`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Update organization-level settings. Requires org_admin role.

## Request body

- UpdateOrgSettingsRequest
  - `name` string, nullable
  - `failure_mode` string, nullable
  - `kms_key_id` string, nullable
  - `llm_api_key` string, nullable
  - `llm_provider` string, nullable
  - `clear_llm_api_key` boolean
  - `llm_key_query_cap` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gateco/apis/gateco-api.md) · [All operations](https://skmtc.dev/gateco/apis/gateco-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gateco/apis/gateco-api/revisions/5debaf204950?raw)
