---
title: "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}"
method: DELETE
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}"
tags: ["BatchAccount"]
---

# DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}

`DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}`

Deletes the specified Batch account.

## Path parameters

- `accountName` string, required

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref

## 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** (2015-12-01) `bd5ddd708825` — 3 warning
  - deleted the `path` request parameter `resourceGroupName`
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
- **2026-07-13** (2015-12-01) `a4db6a42da8a` — 1 info
  - added the success response with the status `204`

[Change history](https://skmtc.dev/azure/apis/batch-microsoft-batch-batch/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Batch/batchAccounts/:accountName/delete.md)

---

[API](https://skmtc.dev/azure/apis/batch-microsoft-batch-batch.md) · [All operations](https://skmtc.dev/azure/apis/batch-microsoft-batch-batch/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/batch-microsoft-batch-batch/revisions/bd5ddd708825/schema)
