---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.Synapse/locations/{location}/kustoPoolCheckNameAvailability"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/locations/{location}/kustoPoolCheckNameAvailability"
tags: ["KustoPools"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.Synapse/locations/{location}/kustoPoolCheckNameAvailability

`POST /subscriptions/{subscriptionId}/providers/Microsoft.Synapse/locations/{location}/kustoPoolCheckNameAvailability`

Checks that the kusto pool name is valid and is not already in use.

## Parameters

- `../../../../../common-types/resource-management/v2/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v2/types.json#/components/parameters/LocationParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Request body

- KustoPoolCheckNameRequest — The object sent for a kusto pool check name availability request.
  - `name` string, required — Kusto Pool name.
  - `type` 'Microsoft.Synapse/workspaces/kustoPools', required — The type of resource, Microsoft.Synapse/workspaces/kustoPools.

## Response `200`

OK -- Operation to check the kusto resource name availability was successful.

- CheckNameResult — The result returned from a check name availability request.
  - `nameAvailable` boolean — Specifies a Boolean value that indicates if the name is available.
  - `name` string — The name that was checked.
  - `message` string — Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated.
  - `reason` 'Invalid' | 'AlreadyExists' — Message providing the reason why the given name is invalid.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.dev/azure/apis/synapsemanagementclient-4.md) · [All operations](https://skmtc.dev/azure/apis/synapsemanagementclient-4/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/synapsemanagementclient-4/revisions/711231360834?raw)
