Azure Storage Accounts BlobContainers API

The BlobContainers API from Azure Storage Accounts — 8 operation(s) for blobcontainers.

Operations 13

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers Azure Storage Accounts Blob Containers_ List #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName} Azure Storage Accounts Blob Containers_ Delete #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName} Azure Storage Accounts Blob Containers_ Get #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName} Azure Storage Accounts Blob Containers_ Update #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName} Azure Storage Accounts Blob Containers_ Create #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold Azure Storage Accounts Blob Containers_ Clear Legal Hold #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend Azure Storage Accounts Blob Containers_ Extend Immutability Policy #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock Azure Storage Accounts Blob Containers_ Lock Immutability Policy #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName} Azure Storage Accounts Blob Containers_ Delete Immutability Policy #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName} Azure Storage Accounts Blob Containers_ Get Immutability Policy #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName} Azure Storage Accounts Blob Containers_ Create or Update Immutability Policy #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease Azure Storage Accounts Blob Containers_ Lease #
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold Azure Storage Accounts Blob Containers_ Set Legal Hold #

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-blobcontainers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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-blobcontainers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The Azure Storage Management API.
  title: StorageManagementClient Blob Containers API
  version: '2.0'
  x-apisguru-categories:
  - cloud
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png
  x-origin:
  - format: swagger
    url: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/storage/resource-manager/Microsoft.Storage/stable/2019-06-01/blob.json
  x-preferred: false
  x-providerName: azure.com
  x-serviceName: storage-blob
  x-tags:
  - Azure
  - Microsoft
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: BlobContainers
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers
  : get:
      description: Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.
      operationId: BlobContainers_List
      parameters:
      - description: The name of the resource group within the user's subscription. The name is case insensitive.
        in: path
        name: resourceGroupName
        required: true
        x-ms-parameter-location: method
        example: my-resource-group
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        in: path
        name: accountName
        required: true
        x-ms-parameter-location: method
        example: example-value
        schema:
          type: string
          maxLength: 24
          minLength: 3
      - description: The API version to use for this operation.
        in: query
        name: api-version
        required: true
        example: '2019-06-01'
        schema:
          type: string
          minLength: 1
      - description: The ID of the target subscription.
        in: path
        name: subscriptionId
        required: true
        example: 00000000-0000-0000-0000-000000000000
        schema:
          type: string
          minLength: 1
      - description: Optional. Specified maximum number of containers that can be included in the list.
        in: query
        name: $maxpagesize
        example: example-value
        schema:
          type: string
      - description: Optional. When specified, only container names starting with the filter will be listed.
        in: query
        name: $filter
        example: example-value
        schema:
          type: string
      responses:
        '200':
          description: OK -- List Container operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListContainerItems'
      tags:
      - BlobContainers
      x-ms-examples:
        ListContainers:
          parameters:
            accountName: sto1590
            api-version: '2019-06-01'
            monitor: 'true'
            resourceGroupName: res9290
            subscriptionId: '{subscription-id}'
          responses:
            '200':
              body:
                nextLink: https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers?api-version=2019-06-01&$maxpagesize=2&$skipToken=/sto1590/container5103
                value:
                - etag: '"0x8D589847D51C7DE"'
                  id: /subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644
                  name: container1644
                  properties:
                    hasImmutabilityPolicy: false
                    hasLegalHold: false
                    lastModifiedTime: '2018-03-14T08:20:47Z'
                    leaseState: Available
                    leaseStatus: Unlocked
                    publicAccess: Container
                  type: Microsoft.Storage/storageAccounts/blobServices/containers
                - etag: '"0x8D589847DAB5AF9"'
                  id: /subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052
                  name: container4052
                  properties:
                    hasImmutabilityPolicy: false
                    hasLegalHold: false
                    lastModifiedTime: '2018-03-14T08:20:47Z'
                    leaseState: Available
                    leaseStatus: Unlocked
                    publicAccess: None
                  type: Microsoft.Storage/storageAccounts/blobServices/containers
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Azure Storage Accounts Blob Containers_ List
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}
  : delete:
      description: Deletes specified container under its account.
      operationId: BlobContainers_Delete
      parameters:
      - description: The name of the resource group within the user's subscription. The name is case insensitive.
        in: path
        name: resourceGroupName
        required: true
        x-ms-parameter-location: method
        example: my-resource-group
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        in: path
        name: accountName
        required: true
        x-ms-parameter-location: method
        example: example-value
        schema:
          type: string
          maxLength: 24
          minLength: 3
      - $ref: '#/components/parameters/ContainerName'
      - description: The API version to use for this operation.
        in: query
        name: api-version
        required: true
        example: '2019-06-01'
        schema:
          type: string
          minLength: 1
      - description: The ID of the target subscription.
        in: path
        name: subscriptionId
        required: true
        example: 00000000-0000-0000-0000-000000000000
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: OK -- Delete Container operation completed successfully.
        '204':
          description: No Content -- The Container not exist.
      tags:
      - BlobContainers
      x-ms-examples:
        DeleteContainers:
          parameters:
            accountName: sto4506
            api-version: '2019-06-01'
            containerName: container9689
            monitor: 'true'
            resourceGroupName: res4079
            subscriptionId: '{subscription-id}'
          responses:
            '200': {}
            '204': {}
      summary: Azure Storage Accounts Blob Containers_ Delete
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    get:
      description: 'Gets properties of a specified container. '
      operationId: BlobContainers_Get
      parameters:
      - description: The name of the resource group within the user's subscription. The name is case insensitive.
        in: path
        name: resourceGroupName
        required: true
        x-ms-parameter-location: method
        example: my-resource-group
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        in: path
        name: accountName
        required: true
        x-ms-parameter-location: method
        example: example-value
        schema:
          type: string
          maxLength: 24
          minLength: 3
      - $ref: '#/components/parameters/ContainerName'
      - description: The API version to use for this operation.
        in: query
        name: api-version
        required: true
        example: '2019-06-01'
        schema:
          type: string
          minLength: 1
      - description: The ID of the target subscription.
        in: path
        name: subscriptionId
        required: true
        example: 00000000-0000-0000-0000-000000000000
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: OK -- Get Container operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlobContainer'
      tags:
      - BlobContainers
      x-ms-examples:
        GetContainers:
          parameters:
            accountName: sto6217
            api-version: '2019-06-01'
            containerName: container1634
            monitor: 'true'
            resourceGroupName: res9871
            subscriptionId: '{subscription-id}'
          responses:
            '200':
              body:
                etag: '"0x8D592D74CC20EBA"'
                id: /subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634
                name: container1634
                properties:
                  hasImmutabilityPolicy: true
                  hasLegalHold: true
                  immutabilityPolicy:
                    etag: '"8d592d74cb3011a"'
                    properties:
                      immutabilityPeriodSinceCreationInDays: 100
                      state: Locked
                    updateHistory:
                    - immutabilityPeriodSinceCreationInDays: 3
                      objectIdentifier: ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b
                      tenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47
                      timestamp: '2018-03-26T05:06:11.431403Z'
                      update: put
                    - immutabilityPeriodSinceCreationInDays: 3
                      objectIdentifier: ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b
                      tenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47
                      timestamp: '2018-03-26T05:06:13.0907641Z'
                      update: lock
                    - immutabilityPeriodSinceCreationInDays: 100
                      objectIdentifier: ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b
                      tenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47
                      timestamp: '2018-03-26T05:06:14.7097716Z'
                      update: extend
                  lastModifiedTime: '2018-03-26T05:06:14Z'
                  leaseState: Available
                  leaseStatus: Unlocked
                  legalHold:
                    hasLegalHold: true
                    tags:
                    - objectIdentifier: ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b
                      tag: tag1
                      tenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47
                      timestamp: '2018-03-26T05:06:09.6964643Z'
                    - objectIdentifier: ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b
                      tag: tag2
                      tenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47
                      timestamp: '2018-03-26T05:06:09.6964643Z'
                    - objectIdentifier: ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b
                      tag: tag3
                      tenantId: 72f988bf-86f1-41af-91ab-2d7cd011db47
                      timestamp: '2018-03-26T05:06:09.6964643Z'
                  publicAccess: None
                type: Microsoft.Storage/storageAccounts/blobServices/containers
      summary: Azure Storage Accounts Blob Containers_ Get
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    patch:
      description: 'Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn''t already exist. '
      operationId: BlobContainers_Update
      parameters:
      - description: The name of the resource group within the user's subscription. The name is case insensitive.
        in: path
        name: resourceGroupName
        required: true
        x-ms-parameter-location: method
        example: my-resource-group
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        in: path
        name: accountName
        required: true
        x-ms-parameter-location: method
        example: example-value
        schema:
          type: string
          maxLength: 24
          minLength: 3
      - $ref: '#/components/parameters/ContainerName'
      - description: The API version to use for this operation.
        in: query
        name: api-version
        required: true
        example: '2019-06-01'
        schema:
          type: string
          minLength: 1
      - description: The ID of the target subscription.
        in: path
        name: subscriptionId
        required: true
        example: 00000000-0000-0000-0000-000000000000
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: OK -- Update Container operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlobContainer'
                description: Properties of the updated blob container.
      tags:
      - BlobContainers
      x-ms-examples:
        UpdateContainers:
          parameters:
            accountName: sto328
            api-version: '2019-06-01'
            blobContainer:
              properties:
                metadata:
                  metadata: 'true'
                publicAccess: Container
            containerName: container6185
            monitor: 'true'
            resourceGroupName: res3376
            subscriptionId: '{subscription-id}'
          responses:
            '200':
              body:
                id: /subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185
                name: container6185
                properties:
                  hasImmutabilityPolicy: false
                  hasLegalHold: false
                  metadata:
                    metadata: 'true'
                  publicAccess: Container
                type: Microsoft.Storage/storageAccounts/blobServices/containers
      summary: Azure Storage Accounts Blob Containers_ Update
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BlobContainer'
        description: Properties to update for the blob container.
        required: true
    put:
      description: 'Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. '
      operationId: BlobContainers_Create
      parameters:
      - description: The name of the resource group within the user's subscription. The name is case insensitive.
        in: path
        name: resourceGroupName
        required: true
        x-ms-parameter-location: method
        example: my-resource-group
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        in: path
        name: accountName
        required: true
        x-ms-parameter-location: method
        example: example-value
        schema:
          type: string
          maxLength: 24
          minLength: 3
      - $ref: '#/components/parameters/ContainerName'
      - description: The API version to use for this operation.
        in: query
        name: api-version
        required: true
        example: '2019-06-01'
        schema:
          type: string
          minLength: 1
      - description: The ID of the target subscription.
        in: path
        name: subscriptionId
        required: true
        example: 00000000-0000-0000-0000-000000000000
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: OK -- The Container is already created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlobContainer'
        '201':
          description: Created -- Create Container operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlobContainer'
      tags:
      - BlobContainers
      x-ms-examples:
        PutContainers:
          parameters:
            accountName: sto328
            api-version: '2019-06-01'
            blobContainer: {}
            containerName: container6185
            monitor: 'true'
            resourceGroupName: res3376
            subscriptionId: '{subscription-id}'
          responses:
            '200':
              body:
                id: /subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185
                name: container6185
                type: Microsoft.Storage/storageAccounts/blobServices/containers
            '201':
              body:
                id: /subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185
                name: container6185
                type: Microsoft.Storage/storageAccounts/blobServices/containers
      summary: Azure Storage Accounts Blob Containers_ Create
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BlobContainer'
        description: Properties of the blob container to create.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold
  : post:
      description: Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.
      operationId: BlobContainers_ClearLegalHold
      parameters:
      - description: The name of the resource group within the user's subscription. The name is case insensitive.
        in: path
        name: resourceGroupName
        required: true
        x-ms-parameter-location: method
        example: my-resource-group
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        in: path
        name: accountName
        required: true
        x-ms-parameter-location: method
        example: example-value
        schema:
          type: string
          maxLength: 24
          minLength: 3
      - $ref: '#/components/parameters/ContainerName'
      - description: The API version to use for this operation.
        in: query
        name: api-version
        required: true
        example: '2019-06-01'
        schema:
          type: string
          minLength: 1
      - description: The ID of the target subscription.
        in: path
        name: subscriptionId
        required: true
        example: 00000000-0000-0000-0000-000000000000
        schema:
          type: string
          minLength: 1
      responses:
        '200':
          description: OK -- Clear legal hold tags for Container completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegalHold'
      tags:
      - BlobContainers
      x-ms-examples:
        ClearLegalHoldContainers:
          parameters:
            LegalHold:
              tags:
              - tag1
              - tag2
              - tag3
            accountName: sto7280
            api-version: '2019-06-01'
            containerName: container8723
            monitor: 'true'
            resourceGroupName: res4303
            subscriptionId: '{subscription-id}'
          responses:
            '200':
              body:
                hasLegalHold: false
                tags: []
      summary: Azure Storage Accounts Blob Containers_ Clear Legal Hold
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LegalHold'
        description: The LegalHold property that will be clear from a blob container.
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend
  : post:
      description: Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.
      operationId: BlobContainers_ExtendImmutabilityPolicy
      parameters:
      - description: The name of the resource group within the user's subscription. The name is case insensitive.
        in: path
        name: resourceGroupName
        required: true
        x-ms-parameter-location: method
        example: my-resource-group
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        in: path
        name: accountName
        required: true
        x-ms-parameter-location: method
        example: example-value
        schema:
          type: string
          maxLength: 24
          minLength: 3
      - $ref: '#/components/parameters/ContainerName'
      - description: The API version to use for this operation.
        in: query
        name: api-version
        required: true
        example: '2019-06-01'
        schema:
          type: string
          minLength: 1
      - description: The ID of the target subscription.
        in: path
        name: subscriptionId
        required: true
        example: 00000000-0000-0000-0000-000000000000
        schema:
          type: string
          minLength: 1
      - description: The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.
        in: header
        name: If-Match
        required: true
        example: example-value
        schema:
          type: string
      responses:
        '200':
          description: OK -- Extends container ImmutabilityPolicy operation completed successfully..
          headers:
            ETag:
              description: The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImmutabilityPolicy'
      tags:
      - BlobContainers
      x-ms-examples:
        ExtendImmutabilityPolicy:
          parameters:
            If-Match: '"8d59f830d0c3bf9"'
            accountName: sto232
            api-version: '2019-06-01'
            containerName: container5023
            monitor: 'true'
            parameters:
              properties:
                immutabilityPeriodSinceCreationInDays: 100
            resourceGroupName: res6238
            subscriptionId: '{subscription-id}'
          responses:
            '200':
              body:
                etag: '"8d57a8b2ff50332"'
                id: /subscriptions/{subscription-id}/resourceGroups/res6238/providers/Microsoft.Storage/storageAccounts/sto232/blobServices/default/containers/container5023/immutabilityPolicies/default
                name: default
                properties:
                  immutabilityPeriodSinceCreationInDays: 100
                  state: Locked
                type: Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies
      summary: Azure Storage Accounts Blob Containers_ Extend Immutability Policy
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImmutabilityPolicy'
        description: The ImmutabilityPolicy Properties that will be extended for a blob container.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock
  : post:
      description: Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.
      operationId: BlobContainers_LockImmutabilityPolicy
      parameters:
      - description: The name of the resource group within the user's subscription. The name is case insensitive.
        in: path
        name: resourceGroupName
        required: true
        x-ms-parameter-location: method
        example: my-resource-group
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        in: path
        name: accountName
        required: true
        x-ms-parameter-location: method
        example: example-value
        schema:
          type: string
          maxLength: 24
          minLength: 3
      - $ref: '#/components/parameters/ContainerName'
      - description: The API version to use for this operation.
        in: query
        name: api-version
        required: true
        example: '2019-06-01'
        schema:
          type: string
          minLength: 1
      - description: The ID of the target subscription.
        in: path
        name: subscriptionId
        required: true
        example: 00000000-0000-0000-0000-000000000000
        schema:
          type: string
          minLength: 1
      - description: The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.
        in: header
        name: If-Match
        required: true
        example: example-value
        schema:
          type: string
      responses:
        '200':
          description: OK -- Locks container ImmutabilityPolicy operation completed successfully.
          headers:
            ETag:
              description: The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImmutabilityPolicy'
      tags:
      - BlobContainers
      x-ms-examples:
        LockImmutabilityPolicy:
          parameters:
            If-Match: '"8d59f825b721dd3"'
            accountName: sto5009
            api-version: '2019-06-01'
            containerName: container1631
            monitor: 'true'
            resourceGroupName: res2702
            subscriptionId: '{subscription-id}'
          responses:
            '200':
              body:
                etag: '"8d57a8a5edb084a"'
                id: /subscriptions/{subscription-id}/resourceGroups/res2702/providers/Microsoft.Storage/storageAccounts/sto5009/blobServices/default/containers/container1631/immutabilityPolicies/default
                name: default
                properties:
                  immutabilityPeriodSinceCreationInDays: 3
                  state: Locked
                type: Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies
      summary: Azure Storage Accounts Blob Containers_ Lock Immutability Policy
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}
  : delete:
      description: Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, only way is to delete the container after deleting all blobs inside the container.
      operationId: BlobContainers_DeleteImmutabilityPolicy
      parameters:
      - description: The name of the resource group within the user's subscription. The name is case insensitive.
        in: path
        name: resourceGroupName
        required: true
        x-ms-parameter-location: method
        example: my-resource-group
        schema:
          type: string
          maxLength: 90
          minLength: 1
          pattern: ^[-\w\._\(\)]+$
      - description: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
        in: path
        name: accountName
        required: true
        x-ms-parameter-location: method
        example: example-value
        schema:
          type: string
          maxLength: 24
          minLength: 3
      - $ref: '#/components/parameters/ContainerName'
      - $ref: '#/components/parameters/ImmutabilityPolicyName'
      - description: The API version to use for this operation.
        in: query
        name: api-version
        required: true
        example: '2019-06-01'
        schema:
          type: string
          minLength: 1
      - description: The ID of the target subscription.
        in: path
        name: subscriptionId
        required: true
        example: 00000000-0000-0000-0000-000000000000
        schema:
          type: string
          minLength: 1
      - description: The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.
        in: header
        name: If-Match
        required: true
        example: example-value
        schema:
          type: string
      responses:
        '200':
 

# --- truncated at 32 KB (62 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/azure-storage-accounts/refs/heads/main/openapi/azure-storage-accounts-blobcontainers-api-openapi.yml