---
title: "Check name validity and availability"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability"
tags: ["Standard operation", "POST"]
---

# Check name validity and availability

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

This method checks whether a proposed top-level resource name is valid and available.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Request body

- … — unresolved $ref; see the full OpenAPI document linked below

## Response `200`

Name checked

- NameAvailabilityResponse — unresolved $ref

## Other responses

- `default` — Error

---

[API](https://skmtc.net/azure/apis/azure-data-migration-service-resource-provider.md) · [All operations](https://skmtc.net/azure/apis/azure-data-migration-service-resource-provider/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/azure-data-migration-service-resource-provider/revisions/0881821a9cfa/schema)
