---
title: "Update project theme config"
method: PUT
path: "/project-theme-config/{projectId}"
tags: ["ProjectThemeConfig"]
---

# Update project theme config

`PUT /project-theme-config/{projectId}`

Update project theme config with given id

## Path parameters

- `projectId` integer, required

## Request body

- ProjectThemeConfig
  - `defaultThemeId` integer
  - `id` integer
  - `projectId` integer, required
  - `themeUsage` 'MANDATORY' | 'OPTIONAL', required
  - `themes` Theme[]
    - `colors` ThemeColor[]
      - `id` string
      - `type` 'COLOR' | 'GRADIENT'
      - `value` string
    - `components` string[]
    - `creationDate` string, date-time
    - `customFonts` ThemeCustomFont[]
      - `fontFamily` string
      - `fontSrc` string
      - `fontWeights` string[]
      - `id` string
      - `importSrc` string
    - `dateModified` string, date-time
    - `description` string
    - `id` integer
    - `name` string
    - `projectIds` integer[], required
    - `selectedFonts` ThemeSelectedFont[]
      - `id` string
      - `type` 'DEFAULT' | 'CUSTOM'
    - `status` 'ACTIVE' | 'DRAFT' | 'PAUSED'
    - `tags` string[]
    - `widgetIds` integer[]

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api.md) · [All operations](https://skmtc.net/kameleoon/apis/openapi-definition-for-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kameleoon/openapi-definition-for-automation-api/versions/09f2abcea0b5/schema)
