---
title: "POST /providers/Microsoft.Network/checkTrafficManagerNameAvailability"
method: POST
path: "/providers/Microsoft.Network/checkTrafficManagerNameAvailability"
tags: ["Profiles"]
---

# POST /providers/Microsoft.Network/checkTrafficManagerNameAvailability

`POST /providers/Microsoft.Network/checkTrafficManagerNameAvailability`

Checks the availability of a Traffic Manager Relative DNS name.

## Query parameters

- `api-version` string, required

## Request body

- CheckTrafficManagerRelativeDnsNameAvailabilityParameters — Parameters supplied to check Traffic Manager name operation.
  - `name` string — The name of the resource.
  - `type` string — The type of the resource.

## Response `200`

The Traffic Manager Name Availability.

- TrafficManagerNameAvailability — Class representing a Traffic Manager Name Availability response.
  - `name` string — The relative name.
  - `type` string — Traffic Manager profile resource type.
  - `nameAvailable` boolean — Describes whether the relative name is available or not.
  - `reason` string — The reason why the name is not available, when applicable.
  - `message` string — Descriptive message that explains why the name is not available, when applicable.

## Other responses

- `default` — Default response. It will be deserialized as per the Error definition.

---

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