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

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

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

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.SignalRService/locations/{location}/checkNameAvailability`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

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

## Path parameters

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

## Query parameters

- `api-version` string, required

## Request body

- NameAvailabilityParameters: Data POST-ed to the nameAvailability action
  - `type` string, required: The resource type. Can be "Microsoft.SignalRService/SignalR", "Microsoft.SignalRService/WebPubSub", "Microsoft.SignalRService/SignalR/replicas" or "Microsoft.SignalRService/WebPubSub/replicas"
  - `name` string, required: The resource name to validate. e.g."my-resource-name"

## Response `200`

Success. The response describes the name availability.

- NameAvailability: Result of the request to check name availability. It contains a flag and possible reason of failure.
  - `nameAvailable` boolean: Indicates whether the name is available or not.
  - `reason` string: The reason of the availability. Required if name is not available.
  - `message` string: The message of the operation.

## Other responses

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

## Changes

- **2026-07-13** (2018-03-01-preview) `94871f8ab7ff`: 3 breaking, 1 info
  - added the new path request parameter `location`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
  - api tag `SignalR` added
- **2026-07-13** (2018-03-01-preview) `ad21d6da7391`: 1 warning, 1 info
  - deleted the `path` request parameter `location`
  - api tag `SignalR` removed
- **2026-07-13** (2018-03-01-preview) `aa4ef06ff10f`: 2 warning
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`

[Operation history](https://skmtc.dev/azure/apis/signalr-microsoft-signalrservice-signalrservice/changes/subscriptions/:subscriptionId/providers/Microsoft.SignalRService/locations/:location/checkNameAvailability/post.md)

---

[API](https://skmtc.dev/azure/apis/signalr-microsoft-signalrservice-signalrservice.md) - [All operations](https://skmtc.dev/azure/apis/signalr-microsoft-signalrservice-signalrservice/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/signalr-microsoft-signalrservice-signalrservice/revisions/94871f8ab7ff?raw)
