---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability"
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability

`POST /subscriptions/{subscriptionId}/providers/Microsoft.Support/checkNameAvailability`

Check the availability of a resource name. This API should be used to check the uniqueness of the name for support ticket creation for the selected subscription.

## 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

## Request body

- CheckNameAvailabilityInput — Input of CheckNameAvailability API.
  - `name` string, required — The resource name to validate.
  - `type` 'Microsoft.Support/supportTickets' | 'Microsoft.Support/communications', required — The type of resource.

## Response `200`

The request has succeeded.

- CheckNameAvailabilityOutput — Output of check name availability API.
  - `nameAvailable` boolean — Indicates whether the name is available.
  - `reason` string — The reason why the name is not available.
  - `message` string — The detailed error message describing why the name is not available.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2019-05-01-preview) `9dd36a1af9c1` — 1 warning, 1 info
  - deleted the `path` request parameter `subscriptionId`
  - api tag `SupportTickets` removed
- **2026-07-13** (2019-05-01-preview) `11c935a08234` — 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2019-05-01-preview) `f654158becd7` — 1 warning
  - deleted the `query` request parameter `api-version`
- **2026-07-13** (2019-05-01-preview) `1f70f76295f7` — 1 info
  - endpoint added
- **2020-01-28** (2019-05-01-preview) `1aeb16acc7cd` — 3 info
  - api operation id `CheckNameAvailabilityWithSubscription` removed and replaced with `SupportTickets_CheckNameAvailability`
  - api tag `SupportTickets` added
  - api tag `CheckNameAvailabilityWithSubscription` removed

[Full history](https://skmtc.dev/azure/apis/support-microsoft-support-support/changes/subscriptions/:subscriptionId/providers/Microsoft.Support/checkNameAvailability/post.md)

---

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