themeSets

Update a Theme Set

Updates an existing theme set. Both attributes are optional — an omitted attribute is left unchanged. When styles is present it replaces the stored styling wholesale: the tree carries the complete desired styling, and any cell absent from it falls back to the Persona default cascade.

patch/theme-sets/{theme-set-id}

Request

  • Base URL: https://api.withpersona.com/api/v1
  • URL: https://api.withpersona.com/api/v1/theme-sets/{theme-set-id}
  • Auth: HTTP bearer

Path parameters

theme-set-idstring required

ID of the theme set to update

Query parameters

fieldsobject

Comma-separated list(s) of attributes to include in the response. This can be used to customize which attributes will be serialized in the response. See Serialization for more details.

Headers

Key-Inflection'camel' | 'kebab' | 'snake'

Determines casing for the API response.

Idempotency-Keystring

Ensures the request is idempotent.

Persona-Version'2026-09-29' | '2025-12-08' | '2025-10-27' | '2023-01-05' | '2022-09-01' | '2021-08-18' | '2021-07-05' | '2021-02-21' | '2020-05-18'

Server API version. More info on versioning can be found here.

Request body

Response

This endpoint returns a Theme Set object.

Changes

No recorded changes to this operation across all 1 revision of this API.