---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.Cache/CheckNameAvailability"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cache/CheckNameAvailability"
tags: ["Redis"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.Cache/CheckNameAvailability

`POST /subscriptions/{subscriptionId}/providers/Microsoft.Cache/CheckNameAvailability`

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

## Parameters

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

## Request body

- CheckNameAvailabilityParameters — Parameters body to pass for resource name availability check.
  - `name` string, required — Resource name.
  - `type` string, required — Resource type. The only legal value of this property for checking redis cache name availability is 'Microsoft.Cache/redis'.

## Response `200`

Name is available

## Other responses

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

## Changes

- **2026-07-13** (2015-08-01) `51855df55313` — 2 warning
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
- **2026-07-13** (2015-08-01) `f966f4b21078` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/redis-microsoft-cache-redis/changes/subscriptions/:subscriptionId/providers/Microsoft.Cache/CheckNameAvailability/post.md)

---

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