---
title: "Verify namespace availability"
method: GET
path: "/api/v4/namespaces/{id}/exists"
tags: ["namespaces"]
---

# Verify namespace availability

`GET /api/v4/namespaces/{id}/exists`

## Request

- Base URL: `https://gitlab.com`
- URL: `https://gitlab.com/api/v4/namespaces/{id}/exists`
- Auth: none declared

Verifies that a namespace is available for use.

## Path parameters

- `id` string, required

## Query parameters

- `parent_id` integer

## Response `200`

Verify namespace availability

- APIEntitiesNamespaceExistence: API_Entities_NamespaceExistence model
  - `exists` boolean, required
  - `suggests` string[], required

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/gitlab/apis/gitlab-api.md) - [All operations](https://skmtc.dev/gitlab/apis/gitlab-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gitlab/apis/gitlab-api/revisions/b234947ef3f2?raw)
