Microsoft Defender Batch Pricings API

The BatchPricings API from Microsoft Defender — 2 operation(s) for batchpricings.

Operations 3

GET /{scopeId}/providers/Microsoft.Security/batchPricings Batch pricings list #
GET /{scopeId}/providers/Microsoft.Security/batchPricings/{pricingBatchName} Batch pricings get #
PUT /{scopeId}/providers/Microsoft.Security/batchPricings/{pricingBatchName} Batch pricings create or update #

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-defender:microsoft-defender-batchpricings-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

microsoft-defender-batchpricings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Defender for Cloud REST API (Microsoft.Security)…
  version: stable-composite
  description: Composite of the latest stable Microsoft.Security resource-manager swagger files published by Microsoft in Azure/azure-rest-api-specs. Each path keeps its own api-version via x-source.
  x-source-repo: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/security/resource-manager/Microsoft.Security/Security
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: BatchPricings
paths:
  /{scopeId}/providers/Microsoft.Security/batchPricings:
    get:
      operationId: BatchPricings_List
      tags:
      - BatchPricings
      description: Lists the pricing batch resources for the specified scope.
      parameters:
      - $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - name: scopeId
        in: path
        description: The subscription scope for the batch pricing resource.
        required: true
        x-ms-skip-url-encoding: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingBatchList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common.CloudError'
      x-ms-examples:
        List pricing batches:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2026-07-01/examples/BatchPricings/ListBatchPricings_example.json
      x-ms-pageable:
        nextLinkName: nextLink
      x-source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2026-07-01/batchPricings.json
      summary: Batch pricings list
      x-summary-source: derived
  /{scopeId}/providers/Microsoft.Security/batchPricings/{pricingBatchName}:
    get:
      operationId: BatchPricings_Get
      tags:
      - BatchPricings
      description: Gets the current pricing batch configuration for the specified scope.
      parameters:
      - $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - name: scopeId
        in: path
        description: The subscription scope for the batch pricing resource.
        required: true
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: pricingBatchName
        in: path
        description: Name of the pricing batch resource.
        required: true
        schema:
          type: string
          pattern: ^global$
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingBatch'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common.CloudError'
      x-ms-examples:
        Get pricing batch:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2026-07-01/examples/BatchPricings/GetBatchPricings_example.json
      x-source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2026-07-01/batchPricings.json
      summary: Batch pricings get
      x-summary-source: derived
    put:
      operationId: BatchPricings_CreateOrUpdate
      tags:
      - BatchPricings
      description: Updates multiple pricing plan configurations in a single operation.
      parameters:
      - $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - name: scopeId
        in: path
        description: The subscription scope for the batch pricing resource.
        required: true
        x-ms-skip-url-encoding: true
        schema:
          type: string
      - name: pricingBatchName
        in: path
        description: Name of the pricing batch resource.
        required: true
        schema:
          type: string
          pattern: ^global$
      responses:
        '200':
          description: Resource 'PricingBatch' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingBatch'
        '201':
          description: Resource 'PricingBatch' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PricingBatch'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Common.CloudError'
      x-ms-examples:
        Update pricing batch - partial success:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2026-07-01/examples/BatchPricings/PutBatchPricings_PartialSuccess_example.json
        Update pricing batch - success:
          $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2026-07-01/examples/BatchPricings/PutBatchPricings_Success_example.json
      x-source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/security/resource-manager/Microsoft.Security/Security/stable/2026-07-01/batchPricings.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PricingBatch'
        description: Resource create parameters.
        required: true
      summary: Batch pricings create or update
      x-summary-source: derived
components:
  schemas:
    Common.CloudErrorBody:
      type: object
      description: The error detail.
      properties:
        code:
          type: string
          description: The error code.
          readOnly: true
        message:
          type: string
          description: The error message.
          readOnly: true
        target:
          type: string
          description: The error target.
          readOnly: true
        details:
          type: array
          description: The error details.
          items:
            $ref: '#/components/schemas/Common.CloudErrorBody'
          readOnly: true
          x-ms-identifiers: []
        additionalInfo:
          type: array
          description: The error additional info.
          items:
            $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/definitions/ErrorAdditionalInfo
          readOnly: true
          x-ms-identifiers: []
      x-ms-external: true
    PricingPlanOperationStatusCode:
      type: string
      description: Status code for a pricing plan update operation.
      enum:
      - Succeeded
      - Failed
      x-ms-enum:
        name: PricingPlanOperationStatusCode
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: The pricing plan was updated successfully.
        - name: Failed
          value: Failed
          description: The pricing plan was not updated successfully.
    PricingBatchPlanItem:
      type: object
      description: An individual pricing plan configuration.
      properties:
        planName:
          type: string
          description: Name of the pricing plan.
        properties:
          $ref: ./pricings.json#/definitions/PricingProperties
          description: Pricing configuration properties for the plan.
        operationStatus:
          $ref: '#/components/schemas/PricingPlanOperationStatus'
          description: Status of this plan's update operation. This property is returned only after a PUT operation.
          readOnly: true
      required:
      - planName
      - properties
    PricingBatchProperties:
      type: object
      description: Properties for a pricing batch resource.
      properties:
        plansConfigurations:
          type: array
          description: Pricing plan configurations represented by this resource.
          minItems: 1
          maxItems: 30
          items:
            $ref: '#/components/schemas/PricingBatchPlanItem'
          x-ms-identifiers:
          - planName
          x-ms-mutability:
          - read
          - update
          - create
      required:
      - plansConfigurations
    PricingBatch:
      type: object
      description: Pricing batch resource for updating multiple pricing configurations.
      properties:
        properties:
          $ref: '#/components/schemas/PricingBatchProperties'
          description: Pricing batch properties.
      allOf:
      - $ref: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/common-types/resource-management/v5/types.json#/definitions/ProxyResource
    PricingPlanOperationStatus:
      type: object
      description: Status of a pricing plan update operation.
      properties:
        code:
          $ref: '#/components/schemas/PricingPlanOperationStatusCode'
          description: The operation status code.
        message:
          type: string
          description: Additional information about the operation result.
    PricingBatchList:
      type: object
      description: A list of pricing batch resources.
      properties:
        value:
          type: array
          description: The pricing batch resources.
          items:
            $ref: '#/components/schemas/PricingBatch'
        nextLink:
          type: string
          format: uri
          description: The URI to fetch the next page.
          readOnly: true
      required:
      - value
    Common.CloudError:
      type: object
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/Common.CloudErrorBody'
          description: The error object.
          x-ms-client-flatten: true
      x-ms-external: true
  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.