---
title: "POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/bulkCollectionsAction"
method: POST
path: "/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/bulkCollectionsAction"
tags: ["PrivateStores"]
---

# POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/bulkCollectionsAction

`POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/bulkCollectionsAction`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/bulkCollectionsAction`
- Auth: none declared

Perform an action on bulk collections

## Path parameters

- `privateStoreId` string, required

## Query parameters

- `api-version` string, required

## Request body

- BulkCollectionsPayload: Bulk collections action properties
  - `properties` BulkCollectionsDetails: Bulk collection details
    - `collectionIds` string[]: collection ids list that the action is performed on
    - `action` string: Action to perform (For example: EnableCollections, DisableCollections)

## Response `200`

The collections id and name that the action was performed on

- BulkCollectionsResponse: The bulk collections response. The response contains two lists that indicate for each collection whether the operation succeeded or failed
  - `succeeded` CollectionsDetails[]: Succeeded collections
    - `collectionName` string: Collection name.
    - `collectionId` string: Collection id.
  - `failed` CollectionsDetails[]: Failed collections
    - `collectionName` string: Collection name.
    - `collectionId` string: Collection id.

## Other responses

- `default`: Microsoft.Marketplace error response describing why the operation failed.

## Changes

- **2026-07-13** (2020-01-01) `664e71f176b6`: 1 breaking
  - added the new path request parameter `privateStoreId`
- **2026-07-13** (2020-01-01) `a5f22236a1cf`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/marketplace-microsoft-marketplace-marketplace/changes/providers/Microsoft.Marketplace/privateStores/:privateStoreId/bulkCollectionsAction/post.md)

---

[API](https://skmtc.dev/azure/apis/marketplace-microsoft-marketplace-marketplace.md) - [All operations](https://skmtc.dev/azure/apis/marketplace-microsoft-marketplace-marketplace/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/marketplace-microsoft-marketplace-marketplace/revisions/37c9205efbf0?raw)
