What exactly goes on when DELETE /session/username is invoked?

Of course, it would be nice if every device got a unique login token; then they could be revoked/deleted individually.