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

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

The request has succeeded.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2015-08-01) `24a339e685f0` — 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-service-production.skmtc.workers.dev/v1/apis/azure/redis-microsoft-cache-redis/revisions/24a339e685f0/schema)
