def METHOD_NAME(api_client, registration):
    api_client.credentials(apikey="unknown")
    response = delete_registration(api_client, registration.id)
    assert response.status_code == status.HTTP_401_UNAUTHORIZED