---
title: "Validate a theme definition"
method: POST
path: "/{tenant}/definitions/validate"
tags: ["ThemeDefinitions"]
---

# Validate a theme definition

`POST /{tenant}/definitions/validate`

Validates a theme definition without saving it, including the scope key rules (PRODUCT requires `productType`, APPLICATION requires `applicationId`, other scopes carry neither).

## Request body

- ThemeDefinitionInput — unresolved $ref

## Response `200`

The validation result.

- ThemeValidationResult — 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/definitions/validate/post.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)
