Dj-rest-auth logout view returns `CSRF: Failed` while login view works

I'm integrating with dj-rest-auth for my rest api and testing via Postman right now. The login-view works just fine and returns the token, however the logout view returns

"detail": "CSRF Failed: CSRF token missing."
#urls.py

from django.urls import path, include

urlpatterns = [
    path('auth/', include('dj_rest_auth.urls')),
]

Both endpoints expect a POST request which I use accordingly. So why does the logout view bark?

Back to Top