---
title: "Update organization configuration"
method: PATCH
path: "/organization"
tags: ["Organization"]
---

# Update organization configuration

`PATCH /organization`

## Request

- Base URL: `https://api.flogpt.com/api/v1`
- URL: `https://api.flogpt.com/api/v1/organization`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Accepts only the configuration allowlist: `logo`, `ticketPrefix` and,
under `settings`, `timezone`, `allowedDomains`, `maxChatSessions`,
`retentionDays`, `enableAnalytics`, `aiModels.model`,
`supportBusinessHours`, `slaPolicy`, `emailToTicket`, `piiRedaction` and
`channelTicketing`. Any other field is rejected rather than ignored.

`emailToTicket.signingSecret` is not writable here and reads back as a
boolean, so round-tripping the object cannot blank it.

## Request body

- ResourceInput

## Response `200`

Updated configuration

## Other responses

- `400`: The request is invalid.
- `409`: That ticket prefix belongs to another organization

---

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