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

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

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

## Request

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

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

## Parameters

- `../../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v2/types.json#/components/parameters/SubscriptionIdParameter` (unresolved $ref)

## Request body

- CheckNameAvailabilityRequest (unresolved $ref)

## Response `200`

Successful. The response describes the name availability.

- CheckNameAvailabilityResponse (unresolved $ref)

## Other responses

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

---

[API](https://skmtc.dev/azure/apis/recommendationsservice-microsoft-recommendationsservice-reco.md) - [All operations](https://skmtc.dev/azure/apis/recommendationsservice-microsoft-recommendationsservice-reco/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/recommendationsservice-microsoft-recommendationsservice-reco/revisions/5cc34cd11652?raw)
