Azure Files Directory API

The directory API from Azure Files — 7 operation(s) for directory.

Operations 9

PUT /{shareName}/{directory}?restype=directory Directory create #
GET /{shareName}/{directory}?restype=directory Directory get properties #
DELETE /{shareName}/{directory}?restype=directory Directory delete #
PUT /{shareName}/{directory}?restype=directory&comp=properties Directory set properties #
PUT /{shareName}/{directory}?restype=directory&comp=metadata Directory set metadata #
GET /{shareName}/{directory}?restype=directory&comp=list Directory list files and directories segment #
GET /{shareName}/{directory}?comp=listhandles Directory list handles #
PUT /{shareName}/{directory}?comp=forceclosehandles Directory force close handles #
PUT /{shareName}/{directory}?restype=directory&comp=rename Directory rename #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-file-storage:azure-file-storage-directory-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

azure-file-storage-directory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Files FileREST Directory API
  version: '2026-10-06'
  description: Azure Files FileREST data-plane API (service version 2026-10-06). Converted from Microsoft's published Swagger 2.0 contract in github.com/Azure/azure-rest-api-specs (specification/storage/data-plane/FileStorage/stable/2026-10-06/file.json). Microsoft distinguishes operations by query string (x-ms-paths); path keys keep those query discriminators verbatim.
servers:
- url: https://{account-name}.file.core.windows.net
  description: Azure Files storage account endpoint (the spec templates the host as {url})
  variables:
    account-name:
      default: myaccount
      description: Storage account name
security:
- File_shared_key: []
tags:


# --- truncated at 32 KB (50 KB total) ---
# Full source: https://artifacts.apis.io/azure-file-storage/openapi/azure-file-storage-directory-api-openapi.yml