Azure Storage Accounts Subscriptions API

The Subscriptions API from Azure Storage Accounts — 3 operation(s) for subscriptions.

GitHub OpenAPI

Operations 3

GET /subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts Deleted accounts list #
GET /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages Usages list by location #
GET /subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus Skus list #

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-storage-accounts:azure-storage-accounts-subscriptions-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-storage-accounts-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: StorageManagementClient Subscriptions API
  version: '2026-09-01'
  description: The Azure Storage Management API.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Subscriptions
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts:
    get:
      operationId: DeletedAccounts_List
      description: Lists deleted accounts under the subscription.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedAccountListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
      - Subscriptions
      summary: Deleted accounts list
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages:
    get:
      operationId: Usages_ListByLocation
      description: Gets the current usage count and the limit for the resources of the location under the subscription.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/LocationParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UsageListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
      - Subscriptions
      summary: Usages list by location
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus:
    get:
      operationId: Skus_List
      description: Lists the available SKUs supported by Microsoft.Storage for given subscription.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StorageSkuListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      tags:
      - Subscriptions
      summary: Skus list
      x-summary-source: derived
components:
  schemas:
    ErrorResponseBody:
      type: object
      description: Error response body contract.
      properties:
        code:
          type: string
          description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
        message:
          type: string
          description: A message describing the error, intended to be suitable for display in a user interface.
    DeletedAccount:
      type: object
      description: Deleted storage account
      properties:
        properties:
          $ref: '#/components/schemas/DeletedAccountProperties'
          description: Properties of the deleted account.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    SkuInformation:
      type: object
      description: Storage SKU and its properties
      properties:
        name:
          $ref: '#/components/schemas/SkuName'
          description: The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
        tier:
          $ref: '#/components/schemas/SkuTier'
          description: The SKU tier. This is based on the SKU name.
          readOnly: true
        resourceType:
          type: string
          description: The type of the resource, usually it is 'storageAccounts'.
          readOnly: true
        kind:
          $ref: '#/components/schemas/Kind'
          description: Indicates the type of storage account.
          readOnly: true
        locations:
          type: array
          description: The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
          items:
            type: string
          readOnly: true
        locationInfo:
          type: array
          items:
            $ref: '#/components/schemas/SkuInformationLocationInfoItem'
          x-ms-identifiers: []
        capabilities:
          type: array
          description: The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
          items:
            $ref: '#/components/schemas/SKUCapability'
          readOnly: true
        restrictions:
          type: array
          description: The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
          items:
            $ref: '#/components/schemas/Restriction'
          x-ms-identifiers: []
      required:
      - name
    DeletedAccountProperties:
      type: object
      description: Attributes of a deleted storage account.
      properties:
        storageAccountResourceId:
          type: string
          description: Full resource id of the original storage account.
          readOnly: true
        location:
          type: string
          description: Location of the deleted account.
          readOnly: true
        restoreReference:
          type: string
          description: Can be used to attempt recovering this deleted account via PutStorageAccount API.
          readOnly: true
        creationTime:
          type: string
          description: Creation time of the deleted account.
          readOnly: true
        deletionTime:
          type: string
          description: Deletion time of the deleted account.
          readOnly: true
    StorageSkuListResult:
      type: object
      description: The response from the List Storage SKUs operation.
      properties:
        value:
          type: array
          description: Get the list result of storage SKUs and their properties.
          items:
            $ref: '#/components/schemas/SkuInformation'
          readOnly: true
        nextLink:
          type: string
    SkuInformationLocationInfoItem:
      type: object
      properties:
        location:
          type: string
          description: Describes the location for the product where storage account resource can be created.
          readOnly: true
        zones:
          type: array
          description: Describes the available zones for the product where storage account resource can be created.
          items:
            type: string
          readOnly: true
    SKUCapability:
      type: object
      description: The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
      properties:
        name:
          type: string
          description: The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
          readOnly: true
        value:
          type: string
          description: A string value to indicate states of given capability. Possibly 'true' or 'false'.
          readOnly: true
    UsageListResult:
      type: object
      description: The response from the List Usages operation.
      properties:
        value:
          type: array
          description: Gets or sets the list of Storage Resource Usages.
          items:
            $ref: '#/components/schemas/Usage'
        nextLink:
          type: string
    ErrorResponse:
      type: object
      description: An error response from the storage resource provider.
      properties:
        error:
          $ref: '#/components/schemas/ErrorResponseBody'
          description: Azure Storage Resource Provider error response body.
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    Kind:
      type: string
      description: Indicates the type of storage account.
      enum:
      - Storage
      - StorageV2
      - BlobStorage
      - FileStorage
      - BlockBlobStorage
      x-ms-enum:
        name: Kind
        modelAsString: true
        values:
        - name: Storage
          value: Storage
        - name: StorageV2
          value: StorageV2
        - name: BlobStorage
          value: BlobStorage
        - name: FileStorage
          value: FileStorage
        - name: BlockBlobStorage
          value: BlockBlobStorage
    SkuName:
      type: string
      description: The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
      enum:
      - Standard_LRS
      - Standard_GRS
      - Standard_RAGRS
      - Standard_ZRS
      - Premium_LRS
      - Premium_ZRS
      - Standard_GZRS
      - Standard_RAGZRS
      - StandardV2_LRS
      - StandardV2_GRS
      - StandardV2_ZRS
      - StandardV2_GZRS
      - PremiumV2_LRS
      - PremiumV2_ZRS
      x-ms-enum:
        name: SkuName
        modelAsString: true
        values:
        - name: Standard_LRS
          value: Standard_LRS
        - name: Standard_GRS
          value: Standard_GRS
        - name: Standard_RAGRS
          value: Standard_RAGRS
        - name: Standard_ZRS
          value: Standard_ZRS
        - name: Premium_LRS
          value: Premium_LRS
        - name: Premium_ZRS
          value: Premium_ZRS
        - name: Standard_GZRS
          value: Standard_GZRS
        - name: Standard_RAGZRS
          value: Standard_RAGZRS
        - name: StandardV2_LRS
          value: StandardV2_LRS
        - name: StandardV2_GRS
          value: StandardV2_GRS
        - name: StandardV2_ZRS
          value: StandardV2_ZRS
        - name: StandardV2_GZRS
          value: StandardV2_GZRS
        - name: PremiumV2_LRS
          value: PremiumV2_LRS
        - name: PremiumV2_ZRS
          value: PremiumV2_ZRS
    Restriction:
      type: object
      description: The restriction because of which SKU cannot be used.
      properties:
        type:
          type: string
          description: The type of restrictions. As of now only possible value for this is location.
          readOnly: true
        values:
          type: array
          description: The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
          items:
            type: string
          readOnly: true
        reasonCode:
          $ref: '#/components/schemas/ReasonCode'
          description: The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC.
    ReasonCode:
      type: string
      description: The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC.
      enum:
      - QuotaId
      - NotAvailableForSubscription
      x-ms-enum:
        name: ReasonCode
        modelAsString: true
        values:
        - name: QuotaId
          value: QuotaId
        - name: NotAvailableForSubscription
          value: NotAvailableForSubscription
    UsageName:
      type: object
      description: The usage names that can be used; currently limited to StorageAccount.
      properties:
        value:
          type: string
          description: Gets a string describing the resource name.
          readOnly: true
        localizedValue:
          type: string
          description: Gets a localized string describing the resource name.
          readOnly: true
    Resource:
      type: object
      title: Resource
      description: Common fields that are returned in the response for all Azure Resource Manager resources
      properties:
        id:
          type: string
          format: arm-id
          description: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
          readOnly: true
        name:
          type: string
          description: The name of the resource
          readOnly: true
        type:
          type: string
          description: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
          readOnly: true
        systemData:
          $ref: '#/components/schemas/systemData'
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          readOnly: true
      x-ms-azure-resource: true
    DeletedAccountListResult:
      type: object
      description: The response of a DeletedAccount list operation.
      properties:
        value:
          type: array
          description: The DeletedAccount items on this page
          items:
            $ref: '#/components/schemas/DeletedAccount'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    SkuTier:
      type: string
      description: The SKU tier. This is based on the SKU name.
      enum:
      - Standard
      - Premium
      x-ms-enum:
        name: SkuTier
        modelAsString: false
    Usage:
      type: object
      description: Describes Storage Resource Usage.
      properties:
        unit:
          $ref: '#/components/schemas/UsageUnit'
          description: Gets the unit of measurement.
          readOnly: true
        currentValue:
          type: integer
          format: int32
          description: Gets the current count of the allocated resources in the subscription.
          readOnly: true
        limit:
          type: integer
          format: int32
          description: Gets the maximum count of the resources that can be allocated in the subscription.
          readOnly: true
        name:
          $ref: '#/components/schemas/UsageName'
          description: Gets the name of the type of usage.
          readOnly: true
    UsageUnit:
      type: string
      description: Gets the unit of measurement.
      enum:
      - Count
      - Bytes
      - Seconds
      - Percent
      - CountsPerSecond
      - BytesPerSecond
      x-ms-enum:
        name: UsageUnit
        modelAsString: false
  parameters:
    LocationParameter:
      name: location
      in: path
      description: The name of the Azure region.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  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.