---
title: "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}"
method: DELETE
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}"
tags: ["ElasticSans"]
---

# DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}

`DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Delete a Elastic San.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `elasticSanName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Resource deleted successfully.

## Other responses

- `202`: Resource deletion accepted.
- `204`: Resource does not exist.
- `default`: An unexpected error response.

## Changes

- **2026-07-13** (2021-11-20-preview) `8cc4dcb39ecf`: 3 breaking
  - added the new path request parameter `resourceGroupName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
- **2026-07-13** (2021-11-20-preview) `a4ad6887a78d`: 1 warning
  - deleted the `path` request parameter `resourceGroupName`
- **2026-07-13** (2021-11-20-preview) `e068f2023fdd`: 1 breaking, 1 warning
  - added the new path request parameter `resourceGroupName`
  - the optional response header `Location` removed for the status `202`

[Operation history](https://skmtc.dev/azure/apis/elasticsan-microsoft-elasticsan-elasticsan/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.ElasticSan/elasticSans/:elasticSanName/delete.md)

---

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