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

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

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

## Changes

- **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-service-production.skmtc.workers.dev/v1/apis/azure/redis-microsoft-cache-redis/revisions/eb4e8b036e3e/schema)
