401 Unauthorized vs 403 Forbidden: Which is the right status code for when the user has not logged in?

Status Code | Old foggy naming | New clear naming | Use case +++++++++++ | ++++++++++++++++ | ++++++++++++++++ | ++++++++++++++++++++++++++++++++++ 401 | Unauthorized | Unauthenticated | User has not logged-in 403 | Forbidden | Unauthorized | User doesn't have enough privilege https://stackoverflow.com/questions/50143518/401-unauthorized-vs-403-forbidden-which-is-the-right-status-code-for-when-the-u?rq=1