---
title: "POST /validate-entity"
method: POST
path: "/validate-entity"
tags: ["Entity"]
---

# POST /validate-entity

`POST /validate-entity`

Validate that a passed in entity has no errors in schema.

## Request body

- object
  - `location` string, required
  - `entity` object, required

## Response `200`

Ok

## Other responses

- `400` — Validation errors.

## Changes

> 37 revisions in range; 1 not diffed, 1 could not be searched.

- **2024-12-12** `d1b7f2becc1e` — 1 info
  - api tag `Entity` added
- **2024-02-20** `e7d91c5534ae` — 1 info
  - media type `application/json; charset=utf-8` was changed to `application/json` for the response status `400`
- **2023-08-30** `13d29b2e3f77` — 5 warning
  - removed the request property `entity/apiVersion`
  - removed the request property `entity/kind`
  - removed the request property `entity/metadata`
  - removed the request property `entity/relations`
  - …1 more
- **2023-08-30** `7e046a76d0a1` — 3 breaking, 2 info
  - added the new required request property `entity/apiVersion`
  - added the new required request property `entity/kind`
  - added the new required request property `entity/metadata`
  - added the new optional request property `entity/relations`
  - …1 more
- **2023-07-16** `bbfd7e881417` — 1 breaking, 1 info
  - removed the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `400`

[Full history](https://skmtc.dev/backstage/apis/catalog/changes/validate-entity/post.md)

---

[API](https://skmtc.dev/backstage/apis/catalog.md) · [All operations](https://skmtc.dev/backstage/apis/catalog/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/backstage/catalog/revisions/cf26233702b7/schema)
