[DEV-1977] Remove urlpatterns for API.