---
title: "Update Theme"
method: PUT
path: "/themes/{id}"
tags: ["Theme"]
---

# Update Theme

`PUT /themes/{id}`

Update a theme

## Path parameters

- `id` string, required

## Request body

- object
  - `theme` ThemeParametersUpdate — Themes
    - `custom_name` string, nullable — A custom name to override the theme name
    - `current_style_id` integer, nullable — The style that will be applied to the theme
    - `template_pages` object — Set which page renders each template type. Pass a partial object — only the entries you include are updated; omitted keys are left unchanged. Keys are template-type names (e.g. home_template_page, not_found_template_page); values are a page's public id, or an empty string to clear that slot. Unknown template-type names are rejected with a 422 error.

## Response `200`

OK

- ThemeAttributes — Themes
  - `id` integer — Theme ID
  - `public_id` string, nullable — Theme public ID
  - `workspace_id` integer — Workspace ID
  - `name` string — The original name of the theme
  - `custom_name` string, nullable — A custom name to override the theme name
  - `current_style_id` integer, nullable — The style that will be applied to the theme
  - `created_at` string, date-time, nullable — Created at
  - `updated_at` string, date-time, nullable — Updated at
  - `styles` object[], nullable — Styles
    - `id` integer — Style ID
    - `name` string — Name
  - `template_pages` object — A map whose keys are template-type names and whose values are the public id (string) of the page that renders each template type, or null when none is configured. The object is open-ended — there are approximately 22 template types in total (for example: home_template_page, not_found_template_page, coming_soon_template_page, order_confirmation_template_page, checkout_template_page, blog_template_page, blogs_post_template_page, product_template_page, member_login_template_page, customer_center_template_page, and others).

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/myclickfunnels/apis/clickfunnels-api.md) · [All operations](https://skmtc.net/myclickfunnels/apis/clickfunnels-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myclickfunnels/clickfunnels-api/revisions/ae6313eaa176/schema)
