Microsoft Azure File Uploads API

The File Uploads API from Microsoft Azure, for file uploads.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /fileUploads Get the file upload storage configuration · Microsoft Azure Get The File Upload Storage Account Configuration #
Ask an LLM
“Which storage container are device file uploads currently going to?”
“How do I check the current file upload settings?”
Tell an agent
Show the current file upload configuration.
Get the storage account and container used for file uploads with API version {apiVersion}.
PUT /fileUploads Configure storage for file uploads · Microsoft Azure Create The File Upload Storage Account Configuration #
Ask an LLM
“How do I point file uploads at an Azure Storage container?”
“Can I set how long the SAS URIs for uploaded files stay valid?”
Tell an agent
Set up file uploads to container {container} using connection string {connectionString}.
Configure file uploads to {container} with a SAS lifetime of {sasTtl}.
PATCH /fileUploads Update the existing file upload configuration · Microsoft Azure Update The File Upload Storage Account Configuration #
Ask an LLM
“Can I change file upload settings without recreating them?”
“How do I make a conditional update to file uploads using an ETag?”
Tell an agent
Update the existing file upload settings.
Patch the file upload configuration only if its ETag is {ifMatch}.
DELETE /fileUploads Remove the file upload configuration · Microsoft Azure Delete The File Upload Storage Configuration #
Ask an LLM
“How do I turn off file uploads entirely?”
“Can I delete the storage configuration for file uploads?”
Tell an agent destructive · confirm first
Remove the file upload configuration.
Disconnect file uploads from their storage account using API version {apiVersion}.

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/microsoft-azure:microsoft-azure-file-uploads-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

microsoft-azure-file-uploads-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure IoT Central File Uploads API
  description: Azure IoT Central is a service that makes it easy to connect, monitor, and manage your IoT devices at scale.
  version: 2022-10-31-preview
servers:
- url: /api
security:
- azure_auth:
  - user_impersonation
tags:
- name: File Uploads
paths:
  /fileUploads:
    get:
      operationId: microsoftAzureFileuploadsGet
      summary: Microsoft Azure Get The File Upload Storage Account Configuration
      x-ms-examples:
        Get file upload storage account configuration:
          $ref: ./examples/fileUpload_get.json
      parameters:
      - $ref: '#/components/parameters/Version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileUpload'
        default:
          description: An error response received from the IoT Central Service.
          headers:
            x-ms-error-code:
              description: Error code for specific error that occurred.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: Needs a more full description created.
      tags:
      - File Uploads
    put:
      operationId: microsoftAzureFileuploadsCreate
      summary: Microsoft Azure Create The File Upload Storage Account Configuration
      x-ms-examples:
        Create file upload storage account configuration:
          $ref: ./examples/fileUpload_update.json
      parameters:
      - $ref: '#/components/parameters/Version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileUpload'
        default:
          description: An error response received from the IoT Central Service.
          headers:
            x-ms-error-code:
              description: Error code for specific error that occurred.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: Needs a more full description created.
      tags:
      - File Uploads
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileUpload'
        description: File upload storage account configuration body.
        required: true
    patch:
      operationId: microsoftAzureFileuploadsUpdate
      summary: Microsoft Azure Update The File Upload Storage Account Configuration
      x-ms-examples:
        Update file upload storage account configuration:
          $ref: ./examples/fileUpload_update.json
      parameters:
      - $ref: '#/components/parameters/Version'
      - $ref: '#/components/parameters/IfMatch'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileUpload'
        default:
          description: An error response received from the IoT Central Service.
          headers:
            x-ms-error-code:
              description: Error code for specific error that occurred.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: Needs a more full description created.
      tags:
      - File Uploads
      requestBody:
        content:
          application/json:
            schema:
              type: object
          application/merge-patch+json:
            schema:
              type: object
        description: File upload storage account configuration body.
        required: true
    delete:
      operationId: microsoftAzureFileuploadsRemove
      summary: Microsoft Azure Delete The File Upload Storage Configuration
      x-ms-examples:
        Remove file upload storage configuration:
          $ref: ./examples/fileUpload_delete.json
      parameters:
      - $ref: '#/components/parameters/Version'
      responses:
        '204':
          description: Success
        default:
          description: An error response received from the IoT Central Service.
          headers:
            x-ms-error-code:
              description: Error code for specific error that occurred.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: Needs a more full description created.
      tags:
      - File Uploads
components:
  parameters:
    Version:
      in: query
      name: api-version
      description: The version of the API being called.
      x-ms-parameter-location: client
      required: true
      schema:
        type: string
    IfMatch:
      in: header
      name: If-Match
      description: Only perform the operation if the entity's etag matches one of the etags provided or * is provided.
      x-ms-parameter-location: method
      required: false
      schema:
        type: string
  schemas:
    Error:
      description: The response error definition.
      type: object
      properties:
        error:
          description: Error details for current request.
          $ref: '#/components/schemas/ErrorDetails'
      required:
      - error
    FileUpload:
      description: The file upload configuration definition.
      type: object
      properties:
        account:
          description: The storage account name where to upload the file to
          type: string
        connectionString:
          description: The connection string used to configure the storage account
          type: string
        container:
          description: The name of the container inside the storage account
          type: string
        sasTtl:
          description: ISO 8601 duration standard, The amount of time the device’s request to upload a file is valid before it expires.
          type: string
        state:
          description: The state of the file upload configuration
          type: string
          readOnly: true
          enum:
          - pending
          - updating
          - deleting
          - succeeded
          - failed
          x-ms-enum:
            name: FileUploadState
            modelAsString: false
            values:
            - value: pending
              name: Pending
            - value: updating
              name: Updating
            - value: deleting
              name: Deleting
            - value: succeeded
              name: Succeeded
            - value: failed
              name: Failed
        etag:
          description: ETag used to prevent conflict with multiple uploads
          type: string
        readAccess:
          description: The flag indicate if user be able to access device uploaded files from IoT Central portal
          type: boolean
          default: false
      required:
      - connectionString
      - container
    ErrorDetails:
      description: The detail information of the error.
      type: object
      properties:
        code:
          type: string
          description: Error code.
        message:
          type: string
          description: Error message details.
        requestId:
          type: string
          description: Correlation Id for current request.
        time:
          type: string
          format: date-time-rfc1123
          description: The time that error request failed.
      required:
      - code
      - message
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow
x-ms-parameterized-host:
  hostTemplate: '{subdomain}.{baseDomain}'
  parameters:
  - $ref: '#/components/parameters/BaseDomain'
  - $ref: '#/components/parameters/Subdomain'