Management Locks - Delete By Scope

Delete a management lock by scope.

DELETE https://management.azure.com/{scope}/providers/Microsoft.Authorization/locks/{lockName}?api-version=2016-09-01

URI Parameters

Name In Required Type Description
lockName
path True

string

The name of lock.

scope
path True

string

The scope for the lock.

api-version
query True

string

The API version to use for the operation.

Responses

Name Type Description
200 OK

OK

204 No Content

NoContent

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Delete management lock at scope

Sample request

DELETE https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.Authorization/locks/testlock?api-version=2016-09-01

Sample response