---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability"
tags: ["Accounts"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability

`POST /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability`

Checks whether the specified account name is available or taken.

## Path parameters

- `subscriptionId` string, required
- `location` string, required

## Query parameters

- `api-version` string, required

## Request body

- CheckNameAvailabilityParameters — Data Lake Analytics account name availability check parameters.
  - `name` string, required — The Data Lake Analytics name to check availability for.
  - `type` 'Microsoft.DataLakeAnalytics/accounts', required — The resource type. Note: This should not be set by the user, as the constant value is Microsoft.DataLakeAnalytics/accounts

## Response `200`

Successfully retrieved the Data Lake Analytics account name availability information.

- NameAvailabilityInformation — Data Lake Analytics account name availability result information.
  - `nameAvailable` boolean — The Boolean value of true or false to indicate whether the Data Lake Analytics account name is available or not.
  - `reason` string — The reason why the Data Lake Analytics account name is not available, if nameAvailable is false.
  - `message` string — The message describing why the Data Lake Analytics account name is not available, if nameAvailable is false.

## Other responses

- `default` — Default response

## Changes

- **2021-01-11** (2015-10-01-preview) `0b10c4b30d62` — 1 info
  - endpoint added
- **2017-12-28** (2015-10-01-preview) `7cb2648523a6` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/datalake-analytics-microsoft-datalakeanalytics/changes/subscriptions/:subscriptionId/providers/Microsoft.DataLakeAnalytics/locations/:location/checkNameAvailability/post.md)

---

[API](https://skmtc.dev/azure/apis/datalake-analytics-microsoft-datalakeanalytics.md) · [All operations](https://skmtc.dev/azure/apis/datalake-analytics-microsoft-datalakeanalytics/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/datalake-analytics-microsoft-datalakeanalytics/revisions/a8dccea43c3b/schema)
