---
title: "Update a theme for a brand"
method: PUT
path: "/api/v1/brands/{brandId}/themes/{themeId}"
tags: ["Brand"]
---

# Update a theme for a brand

`PUT /api/v1/brands/{brandId}/themes/{themeId}`

## Request

- Base URL: `https://your-subdomain.okta.com`
- URL: `https://your-subdomain.okta.com/api/v1/brands/{brandId}/themes/{themeId}`
- Auth: API key in header `Authorization`

Updates a theme for a brand

## Path parameters

- `brandId` string, required
- `themeId` string, required

## Request body

- Theme
  - `_links` object
  - `backgroundImage` string
  - `emailTemplateTouchPointVariant` 'OKTA_DEFAULT' | 'FULL_THEME'
  - `endUserDashboardTouchPointVariant` 'OKTA_DEFAULT' | 'WHITE_LOGO_BACKGROUND' | 'FULL_THEME' | 'LOGO_ON_FULL_WHITE_BACKGROUND'
  - `errorPageTouchPointVariant` 'OKTA_DEFAULT' | 'BACKGROUND_SECONDARY_COLOR' | 'BACKGROUND_IMAGE'
  - `primaryColorContrastHex` string
  - `primaryColorHex` string
  - `secondaryColorContrastHex` string
  - `secondaryColorHex` string
  - `signInPageTouchPointVariant` 'OKTA_DEFAULT' | 'BACKGROUND_SECONDARY_COLOR' | 'BACKGROUND_IMAGE'

## Response `200`

Success

- ThemeResponse
  - `_links` object
  - `backgroundImage` string
  - `emailTemplateTouchPointVariant` 'OKTA_DEFAULT' | 'FULL_THEME'
  - `endUserDashboardTouchPointVariant` 'OKTA_DEFAULT' | 'WHITE_LOGO_BACKGROUND' | 'FULL_THEME' | 'LOGO_ON_FULL_WHITE_BACKGROUND'
  - `errorPageTouchPointVariant` 'OKTA_DEFAULT' | 'BACKGROUND_SECONDARY_COLOR' | 'BACKGROUND_IMAGE'
  - `favicon` string
  - `id` string
  - `logo` string
  - `primaryColorContrastHex` string
  - `primaryColorHex` string
  - `secondaryColorContrastHex` string
  - `secondaryColorHex` string
  - `signInPageTouchPointVariant` 'OKTA_DEFAULT' | 'BACKGROUND_SECONDARY_COLOR' | 'BACKGROUND_IMAGE'

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

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