def METHOD_NAME(client):
    user1 = factories.UserFactory()
    user2 = factories.UserFactory()
    storage11 = factories.StorageEntryFactory(owner=user1)
    # Delete by anonumous user
    response = client.json.delete(reverse("user-storage-detail", args=[storage11.key]))
    assert response.status_code == 401
    # Delete by logged user
    client.login(username=user1.username, password=user1.username)
    response = client.json.delete(reverse("user-storage-detail", args=[storage11.key]))
    assert response.status_code == 204
    response = client.json.get(reverse("user-storage-detail", args=[storage11.key]))
    assert response.status_code == 404
    # Delete not existent entry
    response = client.json.delete(reverse("user-storage-detail", args=["foo"]))
    assert response.status_code == 404
    client.login(username=user2.username, password=user2.username)
    response = client.json.delete(reverse("user-storage-detail", args=[storage11.key]))
    assert response.status_code == 404