---
title: "Save the brand's app theme"
method: PUT
path: "/api/v1/organization/brand/app-theme"
tags: ["Organization"]
---

# Save the brand's app theme

`PUT /api/v1/organization/brand/app-theme`

## Request

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

Replaces the organization's app theme with the given light and dark CSS colour tokens. Token names must match ^--[a-z0-9-]+$ and values must be hex or oklch() colours. Logos and colours are unchanged.

## Request body

- object
  - `appTheme` object, required
    - `light` object, required
    - `dark` object, required
  - `source` string, nullable

## Response `200`

The saved app theme.

- object
  - `appTheme` object, required
    - `light` object, required
    - `dark` object, required
  - `appThemeSource` string, nullable, required
  - `appThemeUpdatedAt` string, required

## Other responses

- `400`: The request was malformed or failed validation.
- `401`: Authentication is missing or invalid.
- `403`: The caller is not permitted to perform this action.
- `429`: Too many requests; retry after the indicated delay.

---

[API](https://skmtc.dev/khotan/apis/khotan-api.md) - [All operations](https://skmtc.dev/khotan/apis/khotan-api/llms.txt) - [OpenAPI document](https://skmtc.dev/khotan/apis/khotan-api/revisions/90b512a53e42?raw)
