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

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

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

Check the availability of the resource name for the given location.

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/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.

## Changes

- **2026-07-13** (2019-11-04-preview) `3205e1872df4` — 3 breaking, 2 info
  - added the new path request parameter `locationName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
  - api operation id `Workspaces_CheckNameAvailability` removed and replaced with `Workspace_CheckNameAvailability`
  - …1 more

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

---

[API](https://skmtc.dev/azure/apis/quantum-microsoft-quantum-quantum.md) · [All operations](https://skmtc.dev/azure/apis/quantum-microsoft-quantum-quantum/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/quantum-microsoft-quantum-quantum/revisions/17f377565775?raw)
