---
title: "update site custom css html config"
method: PUT
path: "/answer/admin/api/siteinfo/theme"
tags: ["admin"]
---

# update site custom css html config

`PUT /answer/admin/api/siteinfo/theme`

update site custom css html config

## Request body

- SchemaSiteThemeReq
  - `color_scheme` string
  - `layout` 'Full-width' | 'Fixed-width'
  - `theme` string, required
  - `theme_config` object

## Response `200`

OK

- HandlerRespBody
  - `code` integer — http code
  - `data` unknown
  - `msg` string — response message
  - `reason` string — reason key

---

[API](https://skmtc.net/apache/apis/apache-answer.md) · [All operations](https://skmtc.net/apache/apis/apache-answer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apache/apache-answer/versions/e9c2980e6571/schema)
