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

# DELETE /providers/Microsoft.Marketplace/privateStores/{privateStoreId}

`DELETE /providers/Microsoft.Marketplace/privateStores/{privateStoreId}`

## Request

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

Deletes the private store. All that is not saved will be lost.

## Path parameters

- `privateStoreId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Private store was deleted successfully.

## Other responses

- `204`: No Content
- `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
- **2026-07-13** (2020-01-01) `5e13d5031090`: 1 info
  - endpoint added
- **2026-07-13** (2020-01-01) `6edb51bd3697`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/azure/apis/marketplace-microsoft-marketplace-marketplace/changes/providers/Microsoft.Marketplace/privateStores/:privateStoreId/delete.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)
