---
title: "Check file path availability"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability"
tags: ["NetApp Resource"]
---

# Check file path availability

`POST /subscriptions/{subscriptionId}/providers/Microsoft.NetApp/locations/{location}/checkFilePathAvailability`

Check if a file path is available.

## Path parameters

- `subscriptionId` string, required
- `location` string, required

## Query parameters

- `api-version` string, required

## Request body

- ResourceNameAvailabilityRequest — Resource name availability request content.
  - `name` string, required — Resource name to verify.
  - `type` 'Microsoft.NetApp/netAppAccounts' | 'Microsoft.NetApp/netAppAccounts/capacityPools' | 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes' | 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots', required — Resource type used for verification.
  - `resourceGroup` string, required — Resource group name.

## Response `200`

OK

- CheckAvailabilityResponse — Information regarding availability of a resource.
  - `isAvailable` boolean — <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both.
  - `reason` 'Invalid' | 'AlreadyExists' — <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable.
  - `message` string — If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.

## Other responses

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

## Changes

- **2026-07-13** (2017-08-15) `6a74351be95a` — 1 info
  - api operation id `CheckFilePathAvailability` removed and replaced with `NetAppResource_CheckFilePathAvailability`
- **2026-07-13** (2017-08-15) `9a0583dfa629` — 1 info
  - api tag `NetApp Resource` added
- **2026-07-13** (2017-08-15) `f970ea513d68` — 3 breaking
  - added the new path request parameter `location`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
- **2026-07-13** (2017-08-15) `1e78e9a41f07` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/netapp-microsoft-netapp-netapp/changes/subscriptions/:subscriptionId/providers/Microsoft.NetApp/locations/:location/checkFilePathAvailability/post.md)

---

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