---
title: "Deletes the management lock at the subscription level."
method: DELETE
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}"
tags: ["ManagementLocks"]
---

# Deletes the management lock at the subscription level.

`DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}`

To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.

## Path parameters

- `lockName` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK

## Other responses

- `204` — NoContent

## Changes

- **2026-07-13** (2015-01-01) `e155af0c6164` — 1 warning
  - deleted the `query` request parameter `api-version`

[Change history](https://skmtc.dev/azure/apis/resources-microsoft-authorization-locks/changes/subscriptions/:subscriptionId/providers/Microsoft.Authorization/locks/:lockName/delete.md)

---

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