---
title: "GET /{scope}/providers/Microsoft.Authorization/locks"
method: GET
path: "/{scope}/providers/Microsoft.Authorization/locks"
tags: ["ManagementLocks"]
---

# GET /{scope}/providers/Microsoft.Authorization/locks

`GET /{scope}/providers/Microsoft.Authorization/locks`

Gets all the management locks for a scope.

## Path parameters

- `scope` string, required

## Query parameters

- `$filter` string
- `api-version` string, required

## Response `200`

OK - Returns an array of resource locks.

- ManagementLockListResult — The list of locks.
  - `value` ManagementLockObject[] — The list of locks.
    - `properties` ManagementLockProperties, required — The lock properties.
      - `level` 'NotSpecified' | 'CanNotDelete' | 'ReadOnly', required — The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it.
      - `notes` string — Notes about the lock. Maximum of 512 characters.
      - `owners` ManagementLockOwner[] — The owners of the lock.
        - `applicationId` string — The application ID of the lock owner.
    - `id` string — The resource ID of the lock.
    - `type` string — The resource type of the lock - Microsoft.Authorization/locks.
    - `name` string — The name of the lock.
  - `nextLink` string — The URL to use for getting the next set of results.

---

[API](https://skmtc.net/azure/apis/managementlockclient.md) · [All operations](https://skmtc.net/azure/apis/managementlockclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/managementlockclient/versions/f7fac92f6c97/schema)
