---
title: "Patch tokens"
method: PATCH
path: "/{tenant}/tokens"
tags: ["ThemeTokens"]
---

# Patch tokens

`PATCH /{tenant}/tokens`

Upserts and removes tokens in the canonical definition for the addressed `(scope, variant, applicationId)` combination. Composes with the brand endpoints, which write the same canonical definitions.

## Parameters

- `./theme-components.yml#/components/parameters/VariantQuery` — unresolved $ref
- `./theme-components.yml#/components/parameters/ApplicationIdQuery` — unresolved $ref

## Request body

- TokenPatchRequest — unresolved $ref

## Response `200`

The token set after the patch.

- TokenSetOutput — unresolved $ref

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — unresolved $ref
- `500` — unresolved $ref

## Changes

- **2026-07-07** `e1e9983e1809` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sphereon-opensource/apis/theme-api/changes/:tenant/tokens/patch.md)

---

[API](https://skmtc.dev/sphereon-opensource/apis/theme-api.md) · [All operations](https://skmtc.dev/sphereon-opensource/apis/theme-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sphereon-opensource/theme-api/revisions/a2197538ab3a/schema)
