---
title: "[BETA] Validate a context field"
method: POST
path: "/api/admin/projects/{projectId}/context/validate"
tags: ["Context"]
---

# [BETA] Validate a context field

`POST /api/admin/projects/{projectId}/context/validate`

**[BETA]** This API is in beta state, which means it may change or be removed in the future.

Check whether the provided data can be used to create a context field. If the data is not valid, returns a 400 status code with the reason why it is not valid.

## Path parameters

- `projectId` string, required

## Request body

- NameSchema — An object with a name
  - `name` string, required — The name of the represented object.

## Response `200`

This response has no body.

---

[API](https://skmtc.net/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.net/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/revisions/b2c3116e633e/schema)
