ManagementLocks

Deletes the management lock at the subscription level.

Changed on

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.

delete/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}

Request

  • Base URL
    https://management.azure.com
  • URL
    https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}
  • Auth
    OAuth 2
    Implicit: https://login.microsoftonline.com/common/oauth2/authorize
    Scopes: user_impersonation

Path parameters

lockNamestring required

The name of lock to delete.

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for the operation.

Response

OK

Changes