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

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

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

Implements local CheckNameAvailability operations

## Parameters

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

## Request body

- CheckNameAvailabilityRequest — unresolved $ref

## Response `200`

The request has succeeded.

- CheckNameAvailabilityResponse — unresolved $ref

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/fileshares-microsoft-fileshares-fileshares.md) · [All operations](https://skmtc.net/azure/apis/fileshares-microsoft-fileshares-fileshares/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/fileshares-microsoft-fileshares-fileshares/revisions/d1bbbc6c5d58/schema)
