Azure Files File API

The file API from Azure Files — 17 operation(s) for file.

Operations 21

PUT /{shareName}/{directory}/{fileName} File create #
GET /{shareName}/{directory}/{fileName} File download #
HEAD /{shareName}/{directory}/{fileName} File get properties #
DELETE /{shareName}/{directory}/{fileName} File delete #
PUT /{shareName}/{directory}/{fileName}?comp=properties File set HTTP headers #
PUT /{shareName}/{directory}/{fileName}?comp=metadata File set metadata #
PUT /{shareName}/{directory}/{fileName}?comp=lease&acquire File acquire lease #
PUT /{shareName}/{directory}/{fileName}?comp=lease&release File release lease #
PUT /{shareName}/{directory}/{fileName}?comp=lease&change File change lease #
PUT /{shareName}/{directory}/{fileName}?comp=lease&break File break lease #
PUT /{shareName}/{directory}/{fileName}?comp=range File upload range #
PUT /{shareName}/{directory}/{fileName}?comp=range&fromURL File upload range from URL #
GET /{shareName}/{directory}/{fileName}?comp=rangelist File get range list #
PUT /{shareName}/{directory}/{fileName}?comp=copy File start copy #
PUT /{shareName}/{directory}/{fileName}?comp=copy©id File abort copy #
GET /{shareName}/{directory}/{fileName}?comp=listhandles File list handles #
PUT /{shareName}/{directory}/{fileName}?comp=forceclosehandles File force close handles #
PUT /{shareName}/{directory}/{fileName}?comp=rename File 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-file-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-file-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Files FileREST File 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 (131 KB total) ---
# Full source: https://artifacts.apis.io/azure-file-storage/openapi/azure-file-storage-file-api-openapi.yml