Locks Client. delete With Response(String resourceGroupName, String lockName, Context context) Method
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.
public abstract Response<Void> deleteWithResponse(String resourceGroupName, String lockName, Context context)
The name of the resource group containing the lock.
The name of lock to delete.
The context to associate with this operation.