v7

latestSwagger 2.0raw.githubusercontent.com2021-03-1717635.0 KB
ManagementLocks

Deletes the management lock of a resource or any level below the resource.

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}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}

Path parameters

resourceGroupNamestring required

The name of the resource group containing the resource with the lock to delete.

resourceProviderNamespacestring required

The resource provider namespace of the resource with the lock to delete.

parentResourcePathstring required

The parent resource identity.

resourceTypestring required

The resource type of the resource with the lock to delete.

resourceNamestring required

The name of the resource with the lock to delete.

lockNamestring required

The name of the 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