---
title: "Validates if an environment name exists"
method: POST
path: "/api/admin/environments/validate"
tags: ["Environments"]
---

# Validates if an environment name exists

`POST /api/admin/environments/validate`

**Enterprise feature**

Uses the name provided in the body of the request to validate if the given name exists or not

## Request body

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

## Response `200`

This response has no body.

## Other responses

- `400` — The request data does not match what we expect.
- `401` — Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.

---

[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)
